Freigeben über


IDispatch (Compact 2013)

3/26/2014

This interface exposes objects, methods, and properties to Automation programming tools and other applications.

Methods

The following table shows the methods for this interface in the order that the compiler calls the methods. Like all COM interfaces, this interface inherits the methods for the IUnknown interface.

Method

Description

IDispatch::GetTypeInfoCount

This method retrieves the number of type information interfaces that an object provides, either 0 or 1.

IDispatch::GetTypeInfo

This method retrieves the type information for an object.

IDispatch::GetIDsOfNames

This method maps a single member name and an optional set of parameter names to a corresponding set of integer dispatch identifiers (DISPIDs), which can then be used on subsequent calls to Invoke.

IDispatch::Invoke

This method provides access to properties and methods exposed by an object.

Requirements

Header

oaidl.h,
oaidl.idl

Library

oleaut32.lib,
uuid.lib

See Also

Reference

Automation Interfaces
IUnknown