IDispatch Data Types and Structures [Automation]

The IDispatch interface uses the following data types and structures. For more information on the implementation of the IDispatch interface see Dispatch Interface and API Functions.

Name

Purpose

BSTR

A pointer to a wide character string.

CALLCONV

Identifies the calling convention used by a member function.

CURRENCY

Provides a precise data type of monetary data.

DECIMAL

Provides a decimal data type.

DISPID

Identifies a method, property, or argument to Invoke.

DISPPARAMS

Contains arguments passed to a method or property.

EXCEPINFO

Describes an error that occurred during Invoke.

INTERFACEDATA

Describes the members of an interface.

LCID

Provides locale information for international string comparisons and localized member names.

METHODDATA

Describes a method or property.

PARAMDATA

Describes a parameter to a method.

VARIANT

When a variant refers to another variant by using the VT_VARIANT | VT_BYREF vartype, the variant being referred to cannot also be of type VT_VARIANT | VT_BYREF.

VARIANTARG

Describes arguments that may be passed within DISPPARAMS.

VARTYPE

Identifies the available variant types.

VARENUM

Used in VARIANT, TYPEDESC, and OLE (ActiveX) property sets.