This boolean function specifies whether the driver is opened.
Language
|
Description
|
C/C++
|
BOOL IsRapidUsbOpened ( HANDLE hUSB )
|
Delphi
|
function IsRapidUsbOpened ( hUSB : THandle ) : BOOL; stdcall
|
VB
|
Function IsRapidUsbOpened ( ByVal hUSB As Long ) As Bool
|
Parameters:
hUSB - the handle returned by a successful call to OpenRapidUsb
Return Value :
TRUE if the driver was already opened by OpenRapidUsb(), or FALSE if it was not.
Comments:
Use immediately after OpenRapidUsb() call to check if the driver was successfully opened or not.
See also: OpenRapidUsb CloseRapidUSB
|