IProvideClassInfo2:IProvideClassInfo (Windows CE 5.0)

Send Feedback

This interface is a simple extension to the IProvideClassInfo interface 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 IProvideClassInfo2::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

The following table shows the methods for this interface in the order that the compiler calls the methods. Like all COM interfaces, this interface inherits the methods for the IUnknown interface.

IUnknown method Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.
IProvideClassInfo method Description
GetClassInfo Returns the ITypeInfo interface for the object's coclass type information.
IProvideClassInfo2 method Description
GetGUID Returns the GUID for the object's outgoing IID for its default event set.

Remarks

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

Requirements

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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.