LDN services: Difference between revisions
No edit summary |
No edit summary |
||
Line 389: | Line 389: | ||
The input u32 is ignored, the impl for this cmd is identical to [[#InitializeSystem]]. | The input u32 is ignored, the impl for this cmd is identical to [[#InitializeSystem]]. | ||
Internally this calls a func with params: (..., PID, &{u16 value 0x38}). On success, this then calls another func (which sets two state fields to the input) with params: (state, 0). | |||
[[#GetState|State]] must be 0, this cmd eventually sets the State to value 1. | [[#GetState|State]] must be 0, this cmd eventually sets the State to value 1. | ||
Line 409: | Line 411: | ||
== IUserLocalCommunicationService == | == IUserLocalCommunicationService == | ||
This is "nn::ldn::detail::IUserLocalCommunicationService". | This is "nn::ldn::detail::IUserLocalCommunicationService". | ||
This is identical to [[#ISystemLocalCommunicationService]], except for the System-only cmd(s), and [[#Initialize]]/[[#Initialize2]] differ. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 479: | Line 483: | ||
With [7.0.0+] [[#Initialize2]] is used instead. | With [7.0.0+] [[#Initialize2]] is used instead. | ||
This is identical to [[#InitializeSystem]] except different params are used for the funcs called internally. | |||
=== Finalize === | === Finalize === | ||
Line 484: | Line 490: | ||
This is used during service exit, prior to closing the object. Official sw will Abort if this fails. | This is used during service exit, prior to closing the object. Official sw will Abort if this fails. | ||
This is identical to [[#FinalizeSystem]]. | |||
=== Initialize2 === | === Initialize2 === | ||
Line 491: | Line 499: | ||
The input u32 is ignored, the impl for this cmd is identical to [[#Initialize]]. | The input u32 is ignored, the impl for this cmd is identical to [[#Initialize]]. | ||
This is identical to [[#InitializeSystem2]] except different params are used for the funcs called internally: the u16 value is 0x5A, and the value for the second func is 1. | |||
= ndd = | = ndd = |