IMsRdpDeviceCollection::RescanDevices method

Refreshes the list of objects in the collection.

Syntax

HRESULT RescanDevices(
  [in] VARIANT_BOOL vboolDynRedir
);

Parameters

vboolDynRedir [in]

The default redirection state that will be applied to any newly discovered devices or drives.

Return value

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