Skip to main content
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

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2

Type library

Mstscax.dll

DLL

Mstscax.dll

IID

IID_IMsRdpClient7 is defined as b2a5b5ce-3461-444a-91d4-add26d070638

See also

IMsRdpClient8
IMsRdpClient7