Dispatch Functions

These functions simplify the creation of IDispatch interfaces. The dispatch functions are summarized in the following table.

In this section

Topic Description
CreateDispTypeInfo
Creates simplified type information for use in an implementation of IDispatch.
CreateStdDispatch
Creates a standard implementation of the IDispatch interface through a single function call. This simplifies exposing objects through Automation.
DispCallFunc
Low-level helper for Invoke that provides machine independence for customized Invoke.
DispGetIDsOfNames
Low-level helper for Invoke that provides machine independence for customized Invoke.
DispGetParam
Retrieves a parameter from the DISPPARAMS structure, checking both named parameters and positional parameters, and coerces the parameter to the specified type.
DispInvoke
Automatically calls member functions on an interface, given the type information for the interface.

Dispatch Interface and Automation Functions

Automation Programming Reference