Changes

Jump to navigation Jump to search
147 bytes added ,  00:37, 21 November 2018
Line 421: Line 421:     
== CreateInterfaceAvailableEvent ==
 
== CreateInterfaceAvailableEvent ==
Takes an input u8 and returns an output handle. The input value must be 0..2. This is used as an index in a table.
+
Takes an input u8 and a 0x10-byte struct, and returns an output handle. The input value must be 0..2. This is used as an index in a table.
   −
Value 0: when signaled, this indicates that the user-process should use [[#QueryAvailableInterfaces]] and [[#AcquireUsbIf]] with the output interfaces (and the rest of interface setup).
+
The struct is located at +2 from the u8 in IPC rawdata. This struct is the same as the one used for [[#QueryAvailableInterfaces]].
 +
 
 +
When signaled, this indicates that the user-process should use [[#QueryAvailableInterfaces]] and [[#AcquireUsbIf]] with the output interfaces (and the rest of interface setup).
    
== DestroyInterfaceAvailableEvent ==
 
== DestroyInterfaceAvailableEvent ==

Navigation menu