2.2.41 ELEMDESC

The ELEMDESC structure is used in the FUNCDESC (section 2.2.42) and VARDESC (section 2.2.43) structures to describe a member of a structure, a parameter, or the return value of a method.

 typedef struct tagELEMDESC {
   TYPEDESC tdesc;
   PARAMDESC paramdesc;
 } ELEMDESC;

tdesc: MUST contain a TYPEDESC (section 2.2.37) that describes the element, parameter, or return value.

paramdesc: MUST contain a PARAMDESC that has the values as specified in section 2.2.40, if the ELEMDESC is a member of the lprgelemdescParam array in a FUNCDESC (section 2.2.42) structure. Otherwise, it MUST contain a PARAMDESC that has the data fields pparamdescex and wParamFlags set to NULL and 0 respectively.