Changes

Jump to navigation Jump to search
no edit summary
Line 320: Line 320:  
| 124 || [6.0.0+] GetApplicationLaunchRequestInfo ||  
 
| 124 || [6.0.0+] GetApplicationLaunchRequestInfo ||  
 
|-
 
|-
| 130 || [6.0.0+] SetUsers ||  
+
| 130 || [6.0.0+] [[#SetUsers]] ||  
 
|-
 
|-
 
| 131 || [6.0.0+] CheckRightsEnvironmentAvailable ||  
 
| 131 || [6.0.0+] CheckRightsEnvironmentAvailable ||  
Line 347: Line 347:     
This gets the application [[NACP_Format|control.nacp]].
 
This gets the application [[NACP_Format|control.nacp]].
 +
 +
===== SetUsers =====
 +
Takes an input u8 bool flag and a type-0x5 input buffer containing an array of u128 userIDs.
 +
 +
The total entries for the userIDs must be <=8.
 +
 +
When the input flag is true, the '''users_available''' state flag is cleared to 0, however as long as total_entries is valid this state flag will be set to 1 afterwards regardless.
    
===== SetApplicationAttribute =====
 
===== SetApplicationAttribute =====
Line 616: Line 623:  
==== GetMainAppletAvailableUsers ====
 
==== GetMainAppletAvailableUsers ====
 
Takes a type-0x6 output buffer containing an array of u128 userIDs, returns an output u8 bool and a s32 '''total_entries'''.
 
Takes a type-0x6 output buffer containing an array of u128 userIDs, returns an output u8 bool and a s32 '''total_entries'''.
 +
 +
This gets the userIDs previously set by [[#SetUsers]].
    
The size of the output buffer in entries must be at least 8.
 
The size of the output buffer in entries must be at least 8.

Navigation menu