USB services: Difference between revisions
No edit summary |
|||
Line 421: | Line 421: | ||
== CreateInterfaceAvailableEvent == | == CreateInterfaceAvailableEvent == | ||
Takes an input u8 and returns an output handle. | 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. | ||
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). | 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). | ||
== DestroyInterfaceAvailableEvent == | == DestroyInterfaceAvailableEvent == | ||
Takes an input u8, no output. | Takes an input u8, no output. The input value must be 0..2. | ||
Clears state associated with the input index. This is the same state setup by [[#CreateInterfaceAvailableEvent]]. | |||
== GetInterfaceStateChangeEvent == | == GetInterfaceStateChangeEvent == |