IDispatch

[This is preliminary documentation and subject to change.]

The IDispatch interface implements Automation, which makes it easier for interpretive and macro languages to access COM components.

This interface and its methods are fully documented in the COM documentation in the Microsoft® Platform SDK and are only partially documented here for quick reference.

Methods in Vtable Order

IUnknown Methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments the reference count.
Release Decrements the reference count.

IDispatch Methods Description
GetTypeInfoCount Retrieves the number of type information interfaces.
GetTypeInfo Retrieves the type information for an object.
GetIDsOfNames Maps a single member and an optional set of argument names to a corresponding set of integer DISPIDs.
Invoke Provides access to properties and methods exposed by an object.