Call this function before opening any device with OpenRapidUsb.
Language
|
Description
|
C/C++
|
UCHAR UsbEnumerateDevices ()
|
Delphi
|
function UsbEnumerateDevices () : Byte; stdcall
|
VB
|
Function UsbEnumerateDevices () As Byte
|
Return Value:
Return Value of this function is number of RapidUSB devices present in system.
Comments:
In most cases this function is called on application startup. It makes all arrangements for accessing other RapidUSB.dll functions. So call to OpenRapidUsb without preliminary call to UsbEnumerateDevices is not allowed.
|