IOCTL_ADAPT_RESET_PIPE |
Description
This command resets an endpoint of the device, clearing any error or stall conditions on that endpoint. Pending data transfers are not cancelled by this command.
The address of a single byte is passed as the lpInBuffer parameter to the DeviceIoControl( ) function.
A null pointer is passed as the lpOutBuffer parameter.
Example
DWORD dwBytes; UCHAR Address = 0x82;
DeviceIoControl(hDevice, IOCTL_ADAPT_RESET_PIPE, &Address, sizeof (Address) NULL, 0, &dwBytes, NULL); |