Partager via


IClassActivator:IUnknown

This interface 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 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 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 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

OS Versions: Windows CE 3.0 and later.
Header: Objidl.h, Objidl.idl.
Link Library: Ole32.lib, Uuid.lib.

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.