IWRdsProtocolListenerCallback interface (wtsprotocol.h)

Exposes methods that notify the Remote Desktop Services service that a client has connected. This interface is the callback object for the IWRdsProtocolListener interface. It is implemented by the Remote Desktop Services service and called by the protocol.

Inheritance

The IWRdsProtocolListenerCallback interface inherits from the IUnknown interface. IWRdsProtocolListenerCallback also has these types of members:

Methods

The IWRdsProtocolListenerCallback interface has these methods.

 
IWRdsProtocolListenerCallback::OnConnected

Notifies the Remote Desktop Services service that a client connection request has been received.

Remarks

To avoid a possible deadlock when calling any of the methods on this interface, you should not make any function or method calls that will directly or indirectly result in a Remote Desktop Services API being called. If you need to make any outbound call, you should start a new thread and make the outbound call from the new thread.

Requirements

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