IOCTL_ADAPT_GET_ALT_INTERFACE_SETTING |
Description
This command retrieves the alternate interface setting for a particular interface of the attached device.
A pointer to a byte indicating the interface number is passed as the lpInBuffer parameter to the DeviceIoControl( ) function.
A pointer to a byte into which the alternate interface setting will be reported is passed as the lpOutBuffer parameter to the DeviceIoControl( ) function.
The length of the variables (1) is passed in the nInBufferSize and nOutBufferSize parameters.
Example
DWORD dwBytes = 0; UCHAR intfc = 0; UCHAR alt;
DeviceIoControl(hDevice, IOCTL_ADAPT_GET_ALT_INTERFACE_SETTING, &intfc, sizeof (alt), &alt, sizeof (alt), &dwBytes, NULL);
|