IWTSProtocolConnection::SetErrorInfo method (wtsprotocol.h)

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

Sends an error code to the client.

Syntax

HRESULT SetErrorInfo(
  [in] ULONG ulError
);

Parameters

[in] ulError

An integer that contains the error code.

Return value

None

Requirements

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

See also

IWTSProtocolConnection