IWRdsProtocolLogonErrorRedirector::RedirectStatus method (wtsprotocol.h)

Queries the protocol regarding how to redirect the client logon status update.

Syntax

HRESULT RedirectStatus(
  [in]  LPCWSTR                              pszMessage,
  [out] WRDS_LOGON_ERROR_REDIRECTOR_RESPONSE *pResponse
);

Parameters

[in] pszMessage

A pointer to a string that contains the logon status message.

[out] pResponse

A pointer to a WRDS_LOGON_ERROR_REDIRECTOR_RESPONSE enumeration that contains the response.

Return value

When you are implementing this method, return S_OK if the function succeeds. If it fails, return an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2012
Target Platform Windows
Header wtsprotocol.h

See also

IWRdsProtocolLogonErrorRedirector