天天看點

VS2005導出函數命名規則

作業系統:Win7

//DLL_EXPORT是自定義的導出類宏 後面是Win7+VS2005個函數導出後的名稱
 class DLL_EXPORT T
 {
 public:
  void Fun1(){}; //導出後​​​?Fun1@T@@QAEXXZ​​​ 
  char Fun2(){return 0;};//導出後​​​?Fun2@T@@QAEDXZ​​​  unsigned char Fun3(){return 0;};//導出後​​?Fun3@T@@QAEEXZ​​  bool Fun4(){return 0;};//導出後​​?Fun4@T@@QAE_NXZ​​  unsigned bool Fun5(){return 0;};//導出後​​?Fun5@T@@QAEIXZ​​  short Fun6(){return 0;};//導出後​​?Fun6@T@@QAEFXZ​​  unsigned short Fun7(){return 0;};//導出後​​?Fun7@T@@QAEGXZ​​  int Fun8(){return 0;};//導出後​​?Fun8@T@@QAEHXZ​​  unsigned int Fun9(){return 0;};//導出後​​?Fun9@T@@QAEIXZ​​  long Fun10(){return 0;};//?Fun10@T@@QAEJXZ
  unsigned long Fun11(){return 0;};//導出後​​?Fun11@T@@QAEKXZ​​  float Fun12(){return 0;};//導出後​​?Fun12@T@@QAEMXZ​​  double Fun13(){return 0;};//導出後​​?Fun13@T@@QAENXZ​​ void Fun22(char ){};//?Fun22@T@@QAEXD@Z
  void Fun23(unsigned char){};//?Fun23@T@@QAEXE@Z
  void Fun24(bool ){};//導出後​​​?Fun24@T@@QAEX_N@Z​​​  void Fun25(unsigned bool){};//導出後​​?Fun25@T@@QAEXI@Z​​  void Fun26(short ){};//導出後​​?Fun26@T@@QAEXF@Z​​  void Fun27(unsigned short){};//導出後​​?Fun27@T@@QAEXG@Z​​  void Fun28(int ){};//導出後​​?Fun28@T@@QAEXH@Z​​  void Fun29(unsigned int){};//導出後​​?Fun29@T@@QAEXI@Z​​  void Fun30(long ){};//導出後​​?Fun30@T@@QAEXJ@Z​​  void Fun31(unsigned long){};//導出後​​?Fun31@T@@QAEXK@Z​​  void Fun32(float ){};//導出後​​?Fun32@T@@QAEXM@Z​​  void Fun33(double){};//導出後​​?Fun33@T@@QAEXN@Z​​  void Fun42(int,char ){};//?Fun42@T@@QAEXHD@Z
  void Fun43(int,unsigned char ){};//?Fun43@T@@QAEXHE@Z
  void Fun44(void){};//?Fun44@T@@QAEXXZ
  int Fun45(int){return 0;};    //?Fun45@T@@QAEHH@Z
  int Fun46(int,int){return 0;};   //?Fun46@T@@QAEHHH@Z
  int Fun47(int,int,int){return 0;};  //?Fun47@T@@QAEHHHH@Z
  int Fun48(int,float){return 0;};  //?Fun48@T@@QAEHHM@Z
  int Fun49(int,float,float){return 0;} //?Fun49@T@@QAEHHMM@Z
  float Fun50(int){return 0 ;}; //?Fun50@T@@QAEMH@Z
 };