2.2.33 DISPPARAMS

The DISPPARAMS structure is used by the Invoke method (see section 3.1.4.4) to contain the arguments passed to a method or property.

 typedef struct tagDISPPARAMS {
   [size_is(cArgs)] VARIANT* rgvarg;
   [size_is(cNamedArgs)] DISPID* rgdispidNamedArgs;
   UINT cArgs;
   UINT cNamedArgs;
 } DISPPARAMS;

rgvarg: MUST be the array of arguments passed to the method or property call.

rgdispidNamedArgs: MUST be the array of DISPIDs corresponding to the named arguments (see section 3.1.4.4).

cArgs: MUST equal the number of arguments passed to the method.

cNamedArgs: MUST equal the number of named arguments passed to the method. This value MUST be less than or equal to the value of cArgs.

The arguments passed in DISPPARAMS MUST be stored as specified in section 3.1.4.4.2.