IWTSProtocolConnection::SendPolicyData method (wtsprotocol.h)

[IWTSProtocolConnection::SendPolicyData is no longer available for use as of Windows Server 2012. Instead, use IWRdsProtocolManager::NotifySettingsChange.]

Sends computer policy settings to the custom protocol. These settings are a combination of listener policies and Group Policy settings.

Syntax

HRESULT SendPolicyData(
  [in] WTS_POLICY_DATA *pPolicyData
);

Parameters

[in] pPolicyData

A pointer to a WTS_POLICY_DATA structure that contains computer policy settings.

Return value

None

Remarks

The SendPolicyData method is the second method called by the Remote Desktop Services service during a connection sequence. The protocol must call the OnReady method after this method is called, or the connection is dropped.

Requirements

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

See also

IWTSProtocolConnection