IOCTL_ADAPT_ABORT_PIPE

CYUSB3

IOCTL_ADAPT_ABORT_PIPE

Top Previous Next

Description

 

This command is used to cancel pending IO requests on an endpoint.

 

A pointer to a variable containing the endpoint address is passed as the lpInBuffer parameter to the DeviceIoControl( ) function. A null pointer is passed as the lpOutBuffer parameter.

 

 

Example

 

DWORD dwBytes = 0;

UCHAR Address = 0x82;

 

DeviceIoControl(hDevice, IOCTL_ADAPT_ABORT_PIPE,

            &Address, sizeof (UCHAR),

            NULL, 0,

            &dwBytes, NULL);