IWTSProtocolLicenseConnection::ProtocolComplete method (wtsprotocol.h)

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

Notifies the protocol whether the licensing process completed successfully.

Syntax

HRESULT ProtocolComplete(
  [in] ULONG ulComplete
);

Parameters

[in] ulComplete

An integer that specifies whether the licensing process ended successfully. A value of one (1) means success. All other values indicate failure.

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

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 R2
Target Platform Windows
Header wtsprotocol.h

See also

IWTSProtocolLicenseConnection