Compartir a través de


IClassActivator (Compact 2013)

3/26/2014

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.

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

See Also

Reference

COM Interfaces