RetrieveStatus Method

Beta Innovations USB SDK .NET/COM

Returns the configuration status of all IO ports found on the module. Can be used to verify if ports are active before reading or writing to them. This function is typically called after DetectHID.

Namespace:  BIUSBWrapper
Assembly:  BIUSBWrapper (in BIUSBWrapper.dll)

Syntax

Visual Basic (Declaration)
Public Shared Sub RetrieveStatus ( _
	ByRef iDeviceList As DeviceParam, _
	<OutAttribute> ByRef oDeviceStatus As DeviceStatus _
)
C#
public static void RetrieveStatus(
	ref DeviceParam iDeviceList,
	out DeviceStatus oDeviceStatus
)

Parameters

iDeviceList
Type: BIUSBWrapper..::.DeviceParam %
A DeviceParam structure. Must contain valid device information returned from call to DetectHID.
oDeviceStatus
Type: BIUSBWrapper..::.DeviceStatus %
Returns a DeviceStatus structure. All returned data will be stored in this location.

See Also