Beta Innovations USB SDK Wrapper Library for .NET/COM v2.0.0.0 reference library |
BIUSB..::.CloseDevices Method |
BIUSB Class See Also Send Feedback |
Releases all detected modules, cancels all pending threads and frees all used memory blocks. This call should be made on program exit and prior to any calls to the DetectHID function in order to refresh the device list.
Namespace:
BIUSBWrapper
Assembly:
BIUSBWrapper (in BIUSBWrapper.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function CloseDevices ( _ iDev_Cnt As UInteger, _ iDeviceList As DeviceParam() _ ) As Boolean |
C# |
---|
public static bool CloseDevices( uint iDev_Cnt, DeviceParam[] iDeviceList ) |
Parameters
- iDev_Cnt
- Type: System..::.UInt32
Number of detected modules to close in the iDeviceList. This value is returned by a call to DetectHID.
- iDeviceList
- Type: array<
BIUSBWrapper..::.DeviceParam
>[]()[]
A DeviceParam structure. Must contain valid device information returned from call to DetectHID.