NS services: Difference between revisions

Line 836: Line 836:
| 2004 || [4.0.0+] [[#HasAllContentsToDeliver]]
| 2004 || [4.0.0+] [[#HasAllContentsToDeliver]]
|-
|-
| 2005 || [4.0.0+] CompareApplicationDeliveryInfo
| 2005 || [4.0.0+] [[#CompareApplicationDeliveryInfo]]
|-
|-
| 2006 || [4.0.0+] CanDeliverApplication
| 2006 || [4.0.0+] CanDeliverApplication
Line 1,021: Line 1,021:


The array-count must match 1. After validating the [[#ApplicationDeliveryInfo]], the output bool is set to u32 [[#ApplicationDeliveryInfo]]+0x1C & 0x10000002 != 0x2, then this returns 0.
The array-count must match 1. After validating the [[#ApplicationDeliveryInfo]], the output bool is set to u32 [[#ApplicationDeliveryInfo]]+0x1C & 0x10000002 != 0x2, then this returns 0.
==== CompareApplicationDeliveryInfo ====
Takes two type-0x5 input buffers containing an array of [[#ApplicationDeliveryInfo]], returns an output s32.
The array-count for both buffers must be 1, otherwise an error is returned.
Both [[#ApplicationDeliveryInfo]] are validated, then the u32 at +0x10 in the first/second buffer are compared. The output s32 is set to the comparsion result: 0 for less than, -1 for equal, and 1 for higher than.


==== RequestReceiveApplication ====
==== RequestReceiveApplication ====