LDN services: Difference between revisions
No edit summary |
|||
| Line 103: | Line 103: | ||
No input. Returns an [[#ISystemLocalCommunicationService]]. | No input. Returns an [[#ISystemLocalCommunicationService]]. | ||
The user-process closes the ISystemServiceCreator object | The user-process closes the ISystemServiceCreator object once finished with it during initialization. Official sw ignores errors from this cmd. | ||
== CreateClientProcessMonitor == | == CreateClientProcessMonitor == | ||
| Line 265: | Line 265: | ||
The sdk user-process func will pass value 1 to the cmd when the input [[#Protocol|Protocol]] is 0/1, 3 is passed directly if specified, otherwise Abort. User-processes use SetProtocol immediately after initializing ldn. | The sdk user-process func will pass value 1 to the cmd when the input [[#Protocol|Protocol]] is 0/1, 3 is passed directly if specified, otherwise Abort. User-processes use SetProtocol immediately after initializing ldn. | ||
The ldn initialization functionality in sdknso also uses this with value 1 (NX) eventually after the init cmd was used successfully. | [20.0.0+] The ldn initialization functionality in sdknso also uses this with value 1 (NX) eventually after the init cmd was used successfully. | ||
The input is validated, then a vfunc is called. | The input is validated, then a vfunc is called. | ||
| Line 485: | Line 485: | ||
Takes an input PID and an u64 pid_placeholder. | Takes an input PID and an u64 pid_placeholder. | ||
[[#CreateClientProcessMonitor|CreateClientProcessMonitor]] and RegisterClient are used by sdknso at the end of the ldn initialization functionality. | [18.0.0+] [[#CreateClientProcessMonitor|CreateClientProcessMonitor]] and RegisterClient are used by sdknso at the end of the ldn initialization functionality. | ||
= ldn:u = | = ldn:u = | ||
| Line 504: | Line 504: | ||
Returns an [[#IUserLocalCommunicationService]]. | Returns an [[#IUserLocalCommunicationService]]. | ||
The user-process closes the IUserServiceCreator object | The user-process closes the IUserServiceCreator object once finished with it during initialization. Official sw ignores errors from this cmd. | ||
== IUserLocalCommunicationService == | == IUserLocalCommunicationService == | ||