IOCTL_ADAPT_SELECT_INTERFACE |
Description
This command sets the alternate interface setting for the primary interface of the attached device.
A pointer to a byte indicating the alternate interface setting is passed as both the lpInBuffer and lpOutBuffer parameters to the DeviceIoControl( ) function.
The length of the variable (1) is passed in the nInBufferSize and nOutBufferSize parameters.
Example
DWORD dwBytes = 0; UCHAR alt = 2;
DeviceIoControl (hDevice, IOCTL_ADAPT_SELECT_INTERFACE, &alt, sizeof (alt), &alt, sizeof (alt), &dwBytes, NULL);
|