Share via


IClassActivator

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This interface specifies a method that retrieves a class object.

When to Implement

No implementation of a moniker or an object supporting IClassActivator exists within the system; however, future versions of the OS can contain such implementations.

Implement the IClassActivator interface if you are writing a custom moniker type that you want to be able to compose to the left of a class moniker or 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 method Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments the reference count.

Release

Decrements the reference count.

Method Description

GetClassObject

Retrieves a class object.

Remarks

To determine whether the platform supports this interface, see Determining Supported COM APIs.

Requirements

Header objidl.h, objidl.idl
Library ole32.lib, uuid.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later