다음을 통해 공유


IClassFactory2::GetLicInfo (Windows CE 5.0)

Send Feedback

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

HRESULT GetLicInfo(LICINFO* pLicInfo);

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

OS Versions: Windows CE 3.0 and later.
Header: Ocidl.h, Ocidl.idl.
Link Library: Ole32.lib, Uuid.lib.

See Also

IClassFactory2::CreateInstanceLic | IClassFactory2::RequestLicKey

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.