METHODDATA

This structure is used to describe a method or property.

At a Glance

Header file: Oleauto.h
Windows CE versions: 2.0 and later

Syntax

typedef struct FARSTRUCT tagMETHODDATA {
OLECHAR FAR
*szName;
PARAMDATA FAR
* ppData;
DISPID
dispid;
unsigned int
iMeth;
CALLCONV
cc;
unsigned int
cArgs;
unsigned short
wFlags;
VARTYPE
vtReturn;
} METHODDATA;

Members

szName

Null-terminated string that contains the method name.

ppData

Parameters for the method. The first parameter is ppdata[0], and so on.

dispid

Identifier of the method, as used in IDispatch.

iMeth

Index of the method in the VTBL of the interface. The indexes start with 0.

cc

Specifies the calling convention. The CDECL and Pascal calling conventions are supported by the dispatch interface creation functions.

cArgs

Number of arguments for the method.

wFlags

Flags that indicate whether the method is used for getting or setting a property. DISPATCH_METHOD indicates that this is not used for a property. DISPATCH_PROPERTYGET indicates that the method is used to get a property value. DISPATCH_PROPERTYPUT indicates that the method is used to set the value of a property. DISPATCH_PROPERTYPUTREF indicates that the method is used to make the property refer to a passed-in object.

vtReturn

Return type for the method.