FpsApi: GetDevice

GetDevice

Returns the name of a device in the device list.

 Public Function GetDevice(
	  ByVal devnum As Long ) As BSTR

Parameters

devnum
The ordinal number of the device in the device list.

Return Values

The name of the device. On error 0 is returned and the error code and string of the control is set appropriately.

Languages

[Visual Basic] Public Function GetDevice(ByVal devnum As Long) As String

[Delphi] function GetDevice(devnum: Integer): WideString;

[C++] bool GetDevice(long devnum);

Remarks

The GetDeviceList() method must be called before using this method.

See Also

Class FpsApi Overview FpsApi Properties FpsApi Methods FreerunMode GetDeviceInfo