IMsRdpDriveCollection::DriveByIndex property

Retrieves the drive at the specified index.

This property is read-only.

Syntax

HRESULT get_DriveByIndex(
  [in]          ULONG index,
  [out, retval] IMsRdpDrive **ppDevice
);

Property value

An IMsRdpDrive 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_IMsRdpDriveCollection is defined as 7ff17599-da2c-4677-ad35-f60c04fe1585

See also

IMsRdpDriveCollection