NS services: Difference between revisions
No edit summary |
No edit summary |
||
Line 1,507: | Line 1,507: | ||
|} | |} | ||
Official sw creates a container object for this using the output from the service commands, which contains the IAsyncValue object, and the Event with EventClearMode=0. | |||
* GetSize: No input, returns an output u64. | |||
* Get: Takes a type-0x6 output buffer, no output. Official sw waits on the Event prior to using this cmd. | |||
* Cancel: No input/output. Used by official sw when closing the object, when a global state flag is set (after using the cmd, official sw will also wait on the Event). This cmd is also used in other official sw funcs. | |||
* GetErrorContext: No input/output, takes a type-0x16 output buffer containing an [[Error_Applet#ErrorContext|ErrorContext]]. | |||
= IAsyncResult = | = IAsyncResult = | ||
Line 1,523: | Line 1,528: | ||
|} | |} | ||
Official sw creates a container object for this using the output from the service commands, which contains the IAsyncResult object, and the Event with EventClearMode=0. | |||
* Get: No input/output. Official sw waits on the Event prior to using this cmd. | |||
* Cancel: No input/output. Used by official sw when closing the object, when a global state flag is set (after using the cmd, official sw will also wait on the Event). This cmd is also used in other official sw funcs. | |||
* GetErrorContext: No input/output, takes a type-0x16 output buffer containing an [[Error_Applet#ErrorContext|ErrorContext]]. | |||
= ns:dev = | = ns:dev = |