IClassFactory2::GetLicInfo method (ocidl.h)

Retrieves information about the licensing capabilities of this class factory.

Syntax

HRESULT GetLicInfo(
  [in, out] LICINFO *pLicInfo
);

Parameters

[in, out] 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

Requirement Value
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