IMsRdpDeviceCollection::DeviceById property

Retrieves the device with the specified identifier.

This property is read-only.

Syntax

HRESULT get_DeviceById(
  [in]          BSTR devInstanceId,
  [out, retval] IMsRdpDevice **ppDevice
);

Property value

An IMsRdpDevice interface pointer.

Error codes

If the method succeeds, S_OK is returned. Any other HRESULT value indicates that the call failed.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_IMsRdpDeviceCollection is defined as 56540617-d281-488c-8738-6a8fdf64a118

See also

IMsRdpDeviceCollection