METHODDATA structure (oleauto.h)
Describes a method or property.
Syntax
typedef struct tagMETHODDATA {
OLECHAR *szName;
PARAMDATA *ppdata;
DISPID dispid;
UINT iMeth;
CALLCONV cc;
UINT cArgs;
WORD wFlags;
VARTYPE vtReturn;
} METHODDATA, *LPMETHODDATA;
Members
szName
The method name.
ppdata
An array of method parameters.
dispid
The ID of the method, as used in IDispatch.
iMeth
The index of the method in the VTBL of the interface, starting with 0.
cc
The calling convention. The CDECL and Pascal calling conventions are supported by the dispatch interface creation functions, such as CreateStdDispatch.
cArgs
The number of arguments.
wFlags
Invoke flags.
vtReturn
The return type for the method.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | oleauto.h |