Partager via


CComClassFactory2::GetLicInfo

Fills a LICINFO structure with information that describes the class factory's licensing capabilities.

STDMETHOD(GetLicInfo)( 
   LICINFO* pLicInfo  
);

Parameters

  • pLicInfo
    [out] Pointer to a LICINFO structure.

Return Value

A standard HRESULT value.

Remarks

The fRuntimeKeyAvail member of this structure indicates whether, given a license key, the class factory allows objects to be created on an unlicensed machine. The fLicVerified member indicates whether a full machine license exists.

Requirements

Header: atlcom.h

See Also

Reference

CComClassFactory2 Class

CComClassFactory2::RequestLicKey

CComClassFactory2::CreateInstanceLic