LDN services: Difference between revisions

No edit summary
No edit summary
Line 13: Line 13:
== CreateMonitorService ==
== CreateMonitorService ==
Returns an [[#IMonitorService]].
Returns an [[#IMonitorService]].
The user-process closes the IMonitorServiceCreator object immediately after using this cmd.


== IMonitorService ==
== IMonitorService ==
Line 33: Line 35:
| 5 || GetNetworkConfigForMonitor
| 5 || GetNetworkConfigForMonitor
|-
|-
| 100 || InitializeMonitor
| 100 || [[#InitializeMonitor]]
|-
|-
| 101 || FinalizeMonitor
| 101 || [[#FinalizeMonitor]]
|}
|}
=== InitializeMonitor ===
No input/output.
This is used immediately after object creation. Official sw will Abort if this fails.
=== FinalizeMonitor ===
No input/output.
This is used during service exit, prior to closing the object. Official sw will Abort if this fails.


= ldn:s =
= ldn:s =
Line 50: Line 62:
== CreateSystemLocalCommunicationService ==
== CreateSystemLocalCommunicationService ==
Returns an [[#ISystemLocalCommunicationService]].
Returns an [[#ISystemLocalCommunicationService]].
The user-process closes the ISystemServiceCreator object immediately after using this cmd. Official sw ignores errors from this cmd.


== ISystemLocalCommunicationService ==
== ISystemLocalCommunicationService ==
Line 112: Line 126:
| 400 || InitializeSystem
| 400 || InitializeSystem
|-
|-
| 401 || FinalizeSystem
| 401 || [[#FinalizeSystem]]
|-
|-
| 402 || [4.0.0+] SetOperationMode
| 402 || [4.0.0+] SetOperationMode
|-
|-
| 403 || [7.0.0+] InitializeSystem2
| 403 || [7.0.0+] [[#InitializeSystem2]]
|}
|}
=== FinalizeSystem ===
No input/output.
This is used during service exit, prior to closing the object. Official sw will Abort if this fails.
=== InitializeSystem2 ===
Takes an input PID, an u32, and an u64 pid_placeholder.
Official sw uses hard-coded value 0x1 for the u32. This is used immediately after object creation.


= ldn:u =
= ldn:u =
Line 131: Line 155:
== CreateUserLocalCommunicationService==
== CreateUserLocalCommunicationService==
Returns an [[#IUserLocalCommunicationService]].
Returns an [[#IUserLocalCommunicationService]].
The user-process closes the IUserServiceCreator object immediately after using this cmd. Official sw ignores errors from this cmd.


== IUserLocalCommunicationService ==
== IUserLocalCommunicationService ==
Line 193: Line 219:
| 400 || Initialize
| 400 || Initialize
|-
|-
| 401 || Finalize
| 401 || [[#Finalize]]
|-
|-
| 402 || [7.0.0+] Initialize2
| 402 || [7.0.0+] [[#Initialize2]]
|}
|}
=== Finalize ===
No input/output.
This is used during service exit, prior to closing the object. Official sw will Abort if this fails.
=== Initialize2 ===
Takes an input PID, an u32, and an u64 pid_placeholder.
Official sw uses hard-coded value 0x1 for the u32. This is used immediately after object creation.


= ndd =
= ndd =