UsbIsoClose
From EDM2
Contents
Description
Releases bandwidth and resources for Isochronous Transfer.
Syntax
ulrc = UsbIsoClose(Handle,ucEndpoint,ucAltSetting)
Parameters
- Handle
- the Device Handle received from the previous UsbOpen.
- ucEndpoint
- the Endpoint Number appropriate for the data transfer.
- ucAltSetting
- the Alternate Setting of the interface having this endpoint.
Return Code
0x0000 - NO_ERROR
Errors
0x0037 - ERROR_DEV_NOT_EXIST 0x0057 - ERROR_INVALID_PARAMETER 0x1B58 - USB_NOT_INIT 0xFF18 - USB_IDC_ADDRINV
Remarks
Example Code
//Code Snippet - UsbIsoClose { APIRET ulrc; UCHAR ucAltSetting = 1; UCHAR ucEndpoint = 0x86; ulrc = UsbIsoClose(Handle,ucEndpoint,ucAltSetting); printf("\nUsbIsoClose - ulrc: 0x%04X (%hu)",ulrc,ulrc); }