2.2.10 CALLCONV Calling Convention Constants

The CALLCONV enumeration values are used in the callconv field of a FUNCDESC to identify the calling convention of a local method defined in the automation type library module, as specified in sections 2.2.42 and 2.2.49.9 .

The following calling convention constants are defined in the CALLCONV enumeration:

 typedef [v1_enum] enum tagCALLCONV
 {
   CC_CDECL = 1,
   CC_PASCAL = 2,
   CC_STDCALL = 4
 } CALLCONV;

CC_CDECL:  MUST be set if the method was declared with the cdecl keyword.

CC_PASCAL:  MUST be set if the method was declared with the pascal keyword.

CC_STDCALL:  MUST be set if the method was declared with the stdcall keyword.