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