IDispatch interface (oaidl.h)

Exposes objects, methods and properties to programming tools and other applications that support Automation. COM components implement the IDispatch interface to enable access by Automation clients, such as Visual Basic.

Inheritance

The IDispatch interface inherits from the IUnknown interface. IDispatch also has these types of members:

Methods

The IDispatch interface has these methods.

 
IDispatch::GetIDsOfNames

Maps a single member and an optional set of argument names to a corresponding set of integer DISPIDs, which can be used on subsequent calls to Invoke.
IDispatch::GetTypeInfo

Retrieves the type information for an object, which can then be used to get the type information for an interface.
IDispatch::GetTypeInfoCount

Retrieves the number of type information interfaces that an object provides (either 0 or 1).
IDispatch::Invoke

Provides access to properties and methods exposed by an object.

Requirements

Requirement Value
Target Platform Windows
Header oaidl.h