The IDispatch interface 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.
For an example on how to access a COM object through the IDispatch interface, see Implementing the IDispatch Interface.
IDispatch is located in the Oleauto.h header file on 32-bit systems, and in Dispatch.h on 16-bit and Macintosh systems.