IClassFactory2::GetLicInfo method

Retrieves information about the licensing capabilities of this class factory.

Syntax

HRESULT GetLicInfo(
  LICINFO *pLicInfo
);

Parameters

pLicInfo

A pointer to the caller-allocated LICINFO structure to be filled on output.

Return Value

This method can return the standard return values E_UNEXPECTED, as well as the following values.

Return code Description
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 because this method provides critical information for the client of a licensed class factory.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header ocidl.h

See Also

IClassFactory2

LICINFO