FpsApi: UseDeviceN

UseDeviceN

Opens an FPS device.

 Public Function UseDeviceN(
	  ByVal devno As Long,
	  ByVal mode As Long ) As Boolean

Parameters

devno
The ordinal number of the device to open. The devices are indexed from 0 to N-1.
mode
The opening mode. Check the FPS_USAGEMODE parameters for more information.

Return Values

On error false is returned and the error code and string of the control is set appropriately.

Languages

[Visual Basic] Public Function UseDeviceN(ByVal devno As Long, ByVal mode As Long) As Boolean

[Delphi] function UseDeviceN(devno: Integer; mode: Integer): Boolean;

[C++] bool UseDeviceN(long devno, long mode);

Remarks

See Also

Class FpsApi Overview FpsApi Properties FpsApi Methods UseDevice Version