ITcLicenseDescCollection::Lookup

Looks up a license descriptor by its GUID. Unlike TryLookup, a lookup failure is indicated by the HRESULT return value.

Signature

HRESULT Lookup(BSTR guidLic, ITcLicenseDesc** ppLic);

Parameter

Name

Type

Description

guidLic

BSTR

[in] GUID of the license being searched for, as a string.

Return value

Name

Type

Description

ppLic

ITcLicenseDesc**

[out, retval] License descriptor found.

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code.