UsbOpen: Difference between revisions
Appearance
Created page with "==Description== Acquires access to a specific USB device. ==Syntax== <pre> ulrc=UsbOpen(pHandle,usVendor,usProduct,usBCDDevice,usEnumDevice) </pre> ==Parameters== ; pHandle ..." |
mNo edit summary |
||
Line 1: | Line 1: | ||
Acquires access to a specific USB device. | Acquires access to a specific USB device. | ||
==Syntax== | ==Syntax== | ||
ulrc=UsbOpen(pHandle,usVendor,usProduct,usBCDDevice,usEnumDevice) | |||
ulrc=UsbOpen(pHandle,usVendor,usProduct,usBCDDevice,usEnumDevice) | |||
==Parameters== | ===Parameters=== | ||
; pHandle : | ;pHandle : | ||
;usVendor : | |||
;usProduct : | |||
;usBCDDevice : | |||
;usEnumDevice : | |||
===Return Code=== | |||
Errors: | |||
[0000] - NO_ERROR | |||
[0057] - ERROR_INVALID_PARAMETER | |||
[1B58] - USB_NOT_INIT (7000) | |||
[FF0C] - ERROR_I24_GEN_FAILURE | |||
[FF13] - ERROR_I24_INVALID_PARAMETER | |||
==Related Function== | |||
*[[UsbClose]] | |||
== | |||
[[Category:USBCalls]] | [[Category:USBCalls]] |
Revision as of 08:36, 12 January 2017
Acquires access to a specific USB device.
Syntax
ulrc=UsbOpen(pHandle,usVendor,usProduct,usBCDDevice,usEnumDevice)
Parameters
- pHandle
- usVendor
- usProduct
- usBCDDevice
- usEnumDevice
Return Code
Errors:
[0000] - NO_ERROR [0057] - ERROR_INVALID_PARAMETER [1B58] - USB_NOT_INIT (7000) [FF0C] - ERROR_I24_GEN_FAILURE [FF13] - ERROR_I24_INVALID_PARAMETER