IClassFactory2::GetLicInfo

Fills a caller-allocated LICINFO structure with information describing the licensing capabilities of this class factory.

HRESULT GetLicInfo(
  LICINFO* pLicInfo  //Pointer to the structure
);
 

Parameters

pLicInfo
[out] Pointer to the caller-allocated LICINFO structure to be filled on output.

Return Values

This method supports the standard return value E_UNEXPECTED, as well as the following:

S_OK
The LICINFO structure was successfully filled in.
E_POINTER
The address in pLicInfo is not valid. For example, it may be NULL.

Remarks

Notes to Implementers

E_NOTIMPL is not allowed as a return value since this method provides critical information for the client of a licensed class factory.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in ocidl.h.

See Also

IClassFactory2::CreateInstanceLic, IClassFactory2::RequestLicKey, LICINFO