IClassActivator

Specifies a method that retrieves a class object.

When to Implement

No implementation of a moniker or an object supporting IClassActivator currently exists within the system, however future versions of the operating system may contain such implementations. Implement the IClassActivator interface if you are writing a custom moniker type which you want to be able to compose to the left of a class moniker or any other moniker that supports binding to IClassActivator.

When to Use

Use IClassActivator if you write a custom moniker class that should behave similarly to class monikers when composed to the right of other monikers. File monikers also use this interface.

Methods in Vtable Order

IUnknown Methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments the reference count.
Release Decrements the reference count.

IClassActivator Method Description
GetClassObject Retrieves a class object.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in objidl.h.