IOCTL_ADAPT_GET_USBDI_VERSION |
Description
This command retrieves the version of the USB Host Controller Driver in BCD format.
A pointer to a 4-byte variable is passed as both the lpInBuffer and lpOutBuffer parameters to the DeviceIoControl( ) function.
The size of the variable (4) is passed in the nInBufferSize and nOutBufferSize parameters.
Example
DWORD dwBytes = 0; ULONG ver;
DeviceIoControl(hDevice, IOCTL_ADAPT_GET_USBDI_VERSION, &ver, sizeof (ver), &ver, sizeof (ver), &dwBytes, NULL);
|