Share via


IClassFactory2::GetLicInfo (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

HRESULT GetLicInfo(
  LICINFO* pLicInfo 
);

Parameters

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

Return Value

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

See Also

Reference

IClassFactory2
IClassFactory2::CreateInstanceLic
IClassFactory2::RequestLicKey