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