IClassFactory interface (unknwn.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::CreateInstance

Creates an uninitialized object.
IClassFactory::LockServer

The IClassFactory::LockServer 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 unknwn.h (include Unknwn.h)

See also

CoCreateInstance

CoGetClassObject

OleCreate