IMsRdpDriveCollection::RescanDrives method

Refreshes the list of objects in the collection.

Syntax

HRESULT RescanDrives(
  [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_IMsRdpDriveCollection is defined as 7ff17599-da2c-4677-ad35-f60c04fe1585

See also

IMsRdpDriveCollection