Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This method fills a caller-allocated LICINFOstructure with information describing the licensing capabilities of this class factory.

Syntax

HRESULT GetLicInfo(
  LICINFO* 
pLicInfo 
);

Parameters

pLicInfo

[out] Pointer to the caller-allocated LICINFOstructure to be filled on output.

Return Value

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

S_OK

The LICINFOstructure was successfully filled in.

E_POINTER

The address in pLicInfois not valid. For example, it can be NULL.

Remarks

To determine whether the platform supports this interface, see Determining Supported COM APIs.

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

Header ocidl.h, ocidl.idl
Library ole32.lib, uuid.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also