Partager via


LICINFO

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure contains parameters that describe the licensing behavior of a class factory that supports licensing.

The structure is filled during the IClassFactory2::GetLicInfo method.

Syntax

typedef struct tagLICINFO {
  ULONG cbLicInfo; 
  BOOL fRuntimeKeyAvail; 
  BOOL fLicVerified; 
} LICINFO;

Members

  • cbLicInfo
    Size of the LICINFO structure.
  • fRuntimeKeyAvail
    Determines whether this class factory allows the creation of its objects on a unlicensed machine through the use of a license key.

    If TRUE, IClassFactory2::RequestLicKey can be called to obtain the key.

    If FALSE, objects can be created only on a fully licensed machine.

  • fLicVerified
    Determines whether a full machine license exists so that calls to IClassFactory::CreateInstance and IClassFactory2::RequestLicKey will succeed.

    If TRUE, the full machine license exists. Thus, objects can be created freely and a license key is available if fRuntimeKeyAvail is also TRUE.

    If FALSE, this class factory cannot create instances of objects on this machine unless the proper license key is passed to IClassFactory2::CreateInstanceLic.

Requirements

Header ocidl.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IClassFactory::CreateInstance
IClassFactory2::CreateInstanceLic
IClassFactory2::GetLicInfo
IClassFactory2::RequestLicKey