Microsoft SDK for Java

IClassFactory2 Interface Methods

The IClassFactory2 interface has the following methods that are unique to it (CreateInstance and LockServer are inherited from IClassFactory and are described there):

CreateInstanceLic creates an instance of the licensed object given a license key from RequestLicKey.
GetLicInfo fills a LICINFO structure with information on the licensing capabilities of this class factory.
RequestLicKey creates and returns a license key that the caller can save and use later in calls to CreateInstanceLic.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.