IMsRdpDriveCollection::D riveByIndex 属性

检索位于指定索引处的驱动器。

此属性为只读。

语法

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

属性值

IMsRdpDrive 接口指针。

错误代码

如果该方法成功,则返回 S_OK 。 任何其他 HRESULT 值都指示调用失败。

要求

要求
最低受支持的客户端
Windows Vista
最低受支持的服务器
Windows Server 2008
类型库
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_IMsRdpDriveCollection定义为 7ff17599-da2c-4677-ad35-f60c04fe1585

另请参阅

IMsRdpDriveCollection