IWRdsProtocolManager interface (wtsprotocol.h)

Exposes methods that the Remote Desktop Services service uses to communicate with the protocol provider. It is the only interface in the protocol provider for which the Remote Desktop Services service calls CoCreateInstanceEx. In addition, the first call the Remote Desktop Services service makes into the protocol provider is to the CreateListener method.

Inheritance

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

Methods

The IWRdsProtocolManager interface has these methods.

 
IWRdsProtocolManager::CreateListener

Requests the creation of an IWRdsProtocolListener object that listens for incoming client connection requests.
IWRdsProtocolManager::Initialize

Initializes the protocol manager.
IWRdsProtocolManager::NotifyServiceStateChange

Notifies the protocol provider that the state of the Remote Desktop Services service is changing.
IWRdsProtocolManager::NotifySessionOfServiceStart

Notifies the protocol provider that the Remote Desktop Services service has started for a given session.
IWRdsProtocolManager::NotifySessionOfServiceStop

Notifies the protocol provider that the Remote Desktop Services service has stopped for a given session.
IWRdsProtocolManager::NotifySessionStateChange

Notifies the protocol provider of changes in the state of a session.
IWRdsProtocolManager::NotifySettingsChange

Notifies the protocol provider of changes in the settings within the Remote Desktop Services service.
IWRdsProtocolManager::Uninitialize

Uninitializes the protocol manager.

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