IWTSProtocolLicenseConnection::RequestLicensingCapabilities method

[IWTSProtocolLicenseConnection::RequestLicensingCapabilities is no longer available for use as of Windows Server 2012. Instead, use IWRdsProtocolLicenseConnection::RequestLicensingCapabilities.]

Requests license capabilities from the client.

Syntax

HRESULT RequestLicensingCapabilities(
  PWTS_LICENSE_CAPABILITIES ppLicenseCapabilities,
  ULONG                     *pcbLicenseCapabilities
);

Parameters

ppLicenseCapabilities

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

   
Windows version None supported Windows Server 2008 R2
Target Platform Windows
Header wtsprotocol.h

See Also

IWTSProtocolLicenseConnection