
usbd select interface() 2006, QNX Software Systems GmbH & Co. KG.
Select the interface for a USB device
Synopsis:
#include <sys/usbdi.h>
int usbd
select interface( struct usbd device *device,
uint8 ifc, uint8 alt );
Description:
You use the usbd select interface() function to select the interface for
a USB device.
device An opaque handle used to identify the USB device.
ifc Interface identifier (
bInterfaceNumber).
alt Alternate identifier (
bAlternateSetting).
Returns:
EOK Success.
ENOMEM No memory for URB.
ENODEV Device was removed.
Classification:
QNX Neutrino, QNX 4
Safety
Cancellation point Yes
Interrupt handler No
Signal handler No
Thread Yes
80 Chapter 4 USB Library Reference November 2, 2006
Comentarios a estos manuales