IWRdsProtocolConnection::GetLicenseConnection method (wtsprotocol.h)
Retrieves an IWRdsProtocolLicenseConnection 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.
HRESULT GetLicenseConnection(
[out] IWRdsProtocolLicenseConnection **ppLicenseConnection
);
[out] ppLicenseConnection
The address of a pointer to an IWRdsProtocolLicenseConnection interface the receives the license connection object.
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.
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2012 |
Target Platform | Windows |
Header | wtsprotocol.h |