共用方式為


CComClassFactory2 Members

IClassFactory Methods

CreateInstance

Creates an object of the specified CLSID.

LockServer

Locks the class factory in memory.

IClassFactory2 Methods

CreateInstanceLic

Given a license key, creates an object of the specified CLSID.

GetLicInfo

Retrieves information describing the licensing capabilities of the class factory.

RequestLicKey

Creates and returns a license key.

See Also

Reference

CComClassFactory2 Class