CommModifyKit.def 578 B

123456789101112131415
  1. ; CommModifyKit.def - DLL 模块定义文件
  2. ; 项目名 CommModifyKit,输出文件名 CommModifyKit.dll(统一命名)
  3. ;
  4. ; 关键:__stdcall 通常被 MSVC 修饰为 _Func@N
  5. ; 使用 EXPORTS 段 + extern "C" 才能得到无修饰的导出名
  6. ; 这样 CommModifyService 的 GetProcAddress(...,"InitMonitor") 等可正确解析
  7. LIBRARY CommModifyKit
  8. EXPORTS
  9. InitMonitor @1
  10. Monitor @2
  11. Stop @3
  12. SetWrite_Data @4
  13. SetRead_Data @5
  14. FreeMonitor @6
  15. get_LastErrror @7 ; 注意 3 个 r,与原拼写一致