IWTSProtocolConnection::GetLicenseConnection method (wtsprotocol.h)

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

Retrieves an IWTSProtocolLicenseConnection object that is used to begin the client licensing process. The protocol must add a reference to this object before returning. When the Remote Desktop Services service has finished the licensing process, it will release the reference.

Syntax

HRESULT GetLicenseConnection(
  [out] IWTSProtocolLicenseConnection **ppLicenseConnection
);

Parameters

[out] ppLicenseConnection

The address of a pointer to an IWTSProtocolLicenseConnection interface.

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