IMsRdpClient7::GetStatusText method

Retrieves the status text for the specified status code.

Syntax

HRESULT GetStatusText(
  [in]          UINT statusCode,
  [out, retval] BSTR *pBstrStatusText
);

Parameters

statusCode [in]

A UINT that specifies the status code to retrieve the text for.

pBstrStatusText [out, retval]

The address of a BSTR that receives the status text.

Return value

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

Requirements

Requirement Value
Minimum supported client
Windows 7
Minimum supported server
Windows Server 2008 R2
Header
Openservice.h
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_IMsRdpClient7 is defined as b2a5b5ce-3461-444a-91d4-add26d070638

See also

IMsRdpClient7

IMsRdpClient8

IMsRdpClient9

IMsRdpClient10