共用方式為


IMsRdpClientShell::GetRdpProperty method

Retrieves the value of a single Remote Desktop Protocol (RDP) property from an RDP configuration file or from RDP file content.

Syntax

HRESULT GetRdpProperty(
  [in]  BSTR    szProperty,
  [out] VARIANT *pValue
);

Parameters

  • szProperty [in]
    Specifies the well-known property name.

  • pValue [out]
    Retrieves a single RDP property value.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Type library

MsTscAx.dll

DLL

MsTscAx.dll

IID

IID_IMsRdpClientShell is defined as d012ae6d-c19a-4bfe-b367-201f8911f134

See also

IMsRdpClientShell