IOCTL_ADAPT_CYCLE_PORT |
Description
This command power-cycles the USB port to which a specified device is attached., Power-cycling a port causes the device to be surprise-removed and re-enumerated.
NULL pointers are passed to DeviceIoControl in the pInBuffer and pOutBuffer parameters.
Example
DWORD dwBytes = 0;
DeviceIoControl(hDevice, IOCTL_ADAPT_CYCLE_PORT, NULL, 0, NULL, 0, &dwBytes, NULL);
|