IWRdsProtocolConnection::AcceptConnection method (wtsprotocol.h)

Directs the protocol to continue with the connection request.

Syntax

HRESULT AcceptConnection();

Return value

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

Upon receiving an error, the Remote Desktop Services service will drop the connection.

Requirements

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

See also

IWRdsProtocolConnection