Creation of Dispatch API Functions [Automation]
For 32-bit systems, dispatch functions are provided in the file Oleaut32.dll. The header file is Oleauto.h, and the import library is Oleaut32.lib. For 16-bit systems, the dispatch functions are provided in the file Oledisp.dll. The header file is Dispatch.h, and the import library is Ole2disp.lib. These functions simplify the creation of IDispatch interfaces. The dispatch functions are summarized in the following table.
Creates simplified type information for an object.
Creates a standard IDispatch implementation for an object.
Converts a set of names to DISPIDs.
Retrieves and coerces elements from a DISPPARAMS structure.
Calls a member function of an IDispatch interface.