1 2 int __cdecl CdeclFunc0(void) 3 { 4 return 0x0; 5 } 6 7 int __cdecl CdeclFunc1(char *p1) 8 { 9 return 0x1; 10 } 11 12 int __stdcall StdcallFunc0(void) 13 { 14 return 0x10; 15 } 16 17 int __stdcall StdcallFunc1(char *p1) 18 { 19 return 0x11; 20 } 21 22 int __stdcall DecoratedStdcallFunc1(char *p1) 23 { 24 return 0x21; 25 } 26 27 int __fastcall FastcallFunc0(void) 28 { 29 return 0x30; 30 } 31 32 int __fastcall FastcallFunc1(char *p1) 33 { 34 return 0x31; 35 } 36 37 int __fastcall DecoratedFastcallFunc1(char *p1) 38 { 39 return 0x42; 40 } 41 42 int __stdcall ExportByOrdinal1(char *p1) 43 { 44 return 0x11; 45 } 46 47 int DataItem1 = 0x51; 48 int DataItem2 = 0x52; 49 50