IWRdsProtocolLicenseConnection::RequestLicensingCapabilities method (wtsprotocol.h)

Requests license capabilities from the client.

Syntax

HRESULT RequestLicensingCapabilities(
  [out]     PWRDS_LICENSE_CAPABILITIES ppLicenseCapabilities,
  [in, out] ULONG                      *pcbLicenseCapabilities
);

Parameters

[out] ppLicenseCapabilities

A pointer to a WRDS_LICENSE_CAPABILITIES structure that contains information about the client license capabilities.

[in, out] pcbLicenseCapabilities

A pointer to an integer that contains the size of the structure specified by the ppLicensingCapabilities parameter.

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.

Requirements

   
Minimum supported client None supported
Minimum supported server Windows Server 2012
Target Platform Windows
Header wtsprotocol.h

See also

IWRdsProtocolLicenseConnection