IProvideClassInfo2  KO95V5

The IProvideClassInfo2 interface is a simple extension to IProvideClassInfo for the purpose of making it quick and easy to retrieve an object s outgoing interface IID for its default event set. The mechanism, the added GetGUID method, is extensible for other types of GUIDs as well.

When to Implement

An object implements this interface to provide type information for its outgoing interfaces.

When to Use

Call the method in this interface to obtain type information on an object s outgoing interfaces.

Methods in Vtable Order

IUnknown1NEM0LU Methods

Description

QueryInterface2Y54585

Returns pointers to supported interfaces.

AddRef1SHW0SS

Increments reference count.

ReleaseDUW01A

Decrements reference count.

 

IProvideClassInfo136YE34 Method

Description

GetClassInfo3QODUN

Returns the ITypeInfo interface for the object s coclass type information.

 

IProvideClassInfo2 Method

Description

GetGUIDL_FKGH

Returns the GUID for the object s outgoing IID for its default event set.