Dispatch Functions

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

In this section

TopicDescription

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.

 

Related topics

Dispatch Interface and Automation Functions
Automation Programming Reference

 

 

Community Additions

ADD
Show:
© 2014 Microsoft