IClassFactory interface (unknwnbase.h)

Enables a class of objects to be created.

Inheritance

The IClassFactory interface inherits from the IUnknown interface. IClassFactory also has these types of members:

Methods

The IClassFactory interface has these methods.

 
IClassFactory::LockServer

The IClassFactory::LockServer (unknwnbase.h) method locks an object application open in memory. This enables instances to be created more quickly.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header unknwnbase.h (include Unknwn.h)

See also

CoCreateInstance

CoGetClassObject

OleCreate