IDispatch

This interface exposes objects, methods, and properties to Automation programming tools and other applications.

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.

Method Description
IDispatch::GetTypeInfoCount This method retrieves the number of type information interfaces that an object provides, either 0 or 1.
IDispatch::GetTypeInfo This method retrieves the type information for an object.
IDispatch::GetIDsOfNames This method maps a single member name and an optional set of parameter names to a corresponding set of integer dispatch identifiers (DISPIDs), which can then be used on subsequent calls to Invoke.
IDispatch::Invoke This method provides access to properties and methods exposed by an object.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Oaidl.h, Oaidl.idl.
Link Library: Oleaut32.lib, Uuid.lib.

See Also

Automation Interfaces | IUnknown

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.