Jump to content

UsbBulkWrite

From EDM2
Revision as of 22:18, 5 January 2017 by Martini (talk | contribs) (Created page with "==Description== Executes synchronous host-to-device Bulk Transfer with a specific endpoint. ==Syntax== <pre> ulrc=UsbBulkWrite(Handle,Endpoint,AltInterface,ulNumBytes,*pucDat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Executes synchronous host-to-device Bulk Transfer with a specific endpoint.

Syntax

ulrc=UsbBulkWrite(Handle,Endpoint,AltInterface,ulNumBytes,*pucData,ulTimeout)

Parameters

Handle
Endpoint
AltInterface
ulNumBytes
*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)
 [1B5B] - USB_ERROR_INVALID_ENDPOINT (7003)
 [1B5C] - USB_ERROR_LESSTRANSFERED (7004)
 [4000] - USB_IORB_REQUEST
 [80XX] - USB_IORB_FAILED

Remarks

Example Code


Related Functions