IOCTL_ADAPT_RESET_PARENT_PORT |
Description
This command resets the upstream port of the device it manages. After a successful reset, the bus driver reselects the configuration and any alternative interface settings that the device had before the reset occurred. All pipe handles, configuration handles and interface handles remain valid.
A null pointer is passed as both the lpInBuffer and lpOutBuffer parameters to the DeviceIoControl( ) function.
Example
DWORD dwBytes;
DeviceIoControl(hDevice, IOCTL_ADAPT_RESET_PARENT_PORT, NULL, 0, NULL, 0, &dwBytes, NULL); |