IWRdsProtocolConnection::GetLicenseConnection method
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
- ppLicenseConnection [out]
-
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
|
Minimum supported client |
None supported |
|---|---|
|
Minimum supported server |
Windows Server 2012 |
|
IDL |
|
See also