Partager via


IProvideClassInfo (Windows Embedded CE 6.0)

1/6/2010

This interface provides a single method for accessing the type information for an object's coclass entry in its type library.

When to Implement

Implement this interface on any object that can provide type information for its entire class, that is, the coclass entry in the type library.

When to Use

Use this interface to access the coclass type information for an object.

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.

Remarks

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

Requirements

Header ocidl.h, ocidl.idl
Library ole32.lib, uuid.lib
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

COM Interfaces