ADC Home > Reference Library > Reference > Hardware & Drivers > I/O Kit Framework Reference
|
IOUSBInterfaceInterface183 |
Inherits from: | IOUSBInterfaceInterface182 |
Declared In: |
The object you use to access a USB device interface from user space, returned by the IOUSBFamily version 1.8.3 and above.
The functions listed here include all of the functions defined for the IOUSBInterfaceInterface, IOUSBInterfaceInterface182, and some new functions that are available on Mac OS X version 10.1 and later.
Opens the IOUSBInterface for exclusive access.
USBInterfaceOpenSeize |
Opens the IOUSBInterface for exclusive access.
IOReturn ( *USBInterfaceOpenSeize)( void *self);
self
Pointer to the IOUSBInterfaceInterface.
Returns kIOReturnExclusiveAccess if some other task has the interface open already and refuses to close it, kIOReturnError if the connection with the kernel cannot be established or kIOReturnSuccess if successful.
If another client has the device open, an attempt is made to get that client to close it before returning.
Before the client can issue commands that change the state of the device, it must have succeeded in opening the device. This establishes an exclusive link between the clients task and the actual device.
|
Last Updated: 2009-02-23