IWRdsProtocolLicenseConnection::SendClientLicense method (wtsprotocol.h)
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 (such as the SERVER_NEW_LICENSE, SERVER_PLATFORM_CHALLENGE, SERVER_LICENSE_REQUEST, and SERVER_UPGRADE_LICENSE packet structures), see [MS-RDPELE]: Remote Desktop Protocol: Licensing Extension.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2012 |
Target Platform | Windows |
Header | wtsprotocol.h |