IWTSProtocolConnection::GetLogonErrorRedirector method (wtsprotocol.h)

[IWTSProtocolConnection::GetLogonErrorRedirector is no longer available for use as of Windows Server 2012. Instead, use IWRdsProtocolConnection::GetLogonErrorRedirector.]

Retrieves an IWTSProtocolLogonErrorRedirector interface that specifies how the protocol should handle client logon errors. The protocol must add a reference to this object before returning, and the Remote Desktop Services service releases the reference when the connection is closed.

Syntax

HRESULT GetLogonErrorRedirector(
  [out] IWTSProtocolLogonErrorRedirector **ppLogonErrorRedir
);

Parameters

[out] ppLogonErrorRedir

Address of a pointer to an IWTSProtocolLogonErrorRedirector interface.

Return value

None

Remarks

The IWTSProtocolLogonErrorRedirector interface is implemented by the protocol to receive status and error messages from the Remote Desktop Services service.

Requirements

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

See also

IWTSProtocolConnection