Changes

no edit summary
Line 126: Line 126:     
==== GetWriterLockAccessorEx ====
 
==== GetWriterLockAccessorEx ====
Takes an input u32, returns an output [[#ILockAccessor]].
+
Takes an input s32, returns an output [[#ILockAccessor]].
    
==== LaunchDevMenu ====
 
==== LaunchDevMenu ====
Line 138: Line 138:  
! Cmd || Name
 
! Cmd || Name
 
|-
 
|-
| 1 || TryLock
+
| 1 || [[#TryLock]]
 
|-
 
|-
| 2 || Unlock
+
| 2 || [[#Unlock]]
 
|-
 
|-
 
| 3 || [[#GetEvent]]
 
| 3 || [[#GetEvent]]
 
|}
 
|}
 +
 +
===== TryLock =====
 +
No input, returns an output u8 bool flag and a handle.
 +
 +
Official sw waits on the previously loaded event from [[#GetEvent]]. The output flag indicates whether locking was successful, the user-process can try using this cmd again when flag=false.
 +
 +
Official sw just closes the output handle.
 +
 +
===== Unlock =====
 +
No input/output.
    
===== GetEvent =====
 
===== GetEvent =====
No input, returns an output handle.
+
No input, returns an output Event handle with autoclear=false.
    
=== IGlobalStateController ===
 
=== IGlobalStateController ===
Line 1,166: Line 1,176:     
=== GetReaderLockAccessorEx ===
 
=== GetReaderLockAccessorEx ===
Takes an input u32, returns an output [[#ILockAccessor]].
+
Takes an input s32, returns an output [[#ILockAccessor]].
    
=== GetWriterLockAccessorEx ===
 
=== GetWriterLockAccessorEx ===
Takes an input u32, returns an output [[#ILockAccessor]].
+
Takes an input s32, returns an output [[#ILockAccessor]].
    
=== GetCradleFwVersion ===
 
=== GetCradleFwVersion ===