IWTSProtocolLicenseConnection::SendClientLicense method (wtsprotocol.h)
[IWTSProtocolLicenseConnection::SendClientLicense is no longer available for use as of Windows Server 2012. Instead, use IWRdsProtocolLicenseConnection::SendClientLicense.]
Sends a license to the client.
Syntax
HRESULT SendClientLicense(
[in] PBYTE pClientLicense,
[in] ULONG cbClientLicense
);
Parameters
[in] pClientLicense
A pointer to a byte array that contains the license.
[in] cbClientLicense
An integer that contains the size, in bytes, of the license.
Return value
When you are implementing this method, return S_OK if the function succeeds. If it fails, return an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values. The remote connection manager logs any errors that you return.
Remarks
For more information about the byte arrays exchanged in this call, see [MS-RDPELE]: Remote Desktop Protocol: Licensing Extension.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 R2 |
Target Platform | Windows |
Header | wtsprotocol.h |