UsbCtrlTransfer
Appearance
Description
Executes synchronous Control Transfer with a specific endpoint.
Syntax
ulrc=UsbCtrlTransfer(Handle,Endpoint,AltInterface,ucRequestType,ucRequest,usValue,usIndex,*pusLength,*pucData,ulTimeout)
Parameters
- Handle
- Endpoint
- AltInterface
- ucRequestType
- ucRequest
- sValue
- usIndex
- *pusLength
- *pucData
- ulTimeout
Return Code
Errors
[0000] - NO_ERROR [0006] - ERROR_INVALID_HANDLE [0008] - ERROR_NOT_ENOUGH_MEMORY [0057] - ERROR_INVALID_PARAMETER [005F] - ERROR_INTERRUPT (95) [0122] - ERROR_TOO_MANY_HANDLES (290) [0280] - ERROR_TIMEOUT (640) [1B58] - USB_NOT_INIT (7000) [4000] - USB_IORB_REQUEST [80XX] - USB_IORB_FAILED