Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This interface specifies a method that retrieves a class object.
When to Implement
No implementation of a moniker or an object supporting IClassActivatorexists within the system; however, future versions of the OS can contain such implementations.
Implement the IClassActivatorinterface 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 IClassActivatorif 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 |
---|---|
Returns pointers to supported interfaces. |
|
Increments the reference count. |
|
Decrements the reference count. |
Method | Description |
---|---|
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 |