mirror of
https://github.com/modernw/App-Installer-For-Windows-8.x-Reset.git
synced 2026-04-11 17:57:19 +10:00
23 lines
610 B
C++
23 lines
610 B
C++
// 下列 ifdef 块是创建使从 DLL 导出更简单的
|
|
// 宏的标准方法。此 DLL 中的所有文件都是用命令行上定义的 RESLIB_EXPORTS
|
|
// 符号编译的。在使用此 DLL 的
|
|
// 任何其他项目上不应定义此符号。这样,源文件中包含此文件的任何其他项目都会将
|
|
// RESLIB_API 函数视为是从 DLL 导入的,而此 DLL 则将用此宏定义的
|
|
// 符号视为是被导出的。
|
|
#ifdef RESLIB_EXPORTS
|
|
#define RESLIB_API __declspec(dllexport)
|
|
#else
|
|
#define RESLIB_API __declspec(dllimport)
|
|
#endif
|
|
|
|
// 此类是从 reslib.dll 导出的
|
|
class RESLIB_API Creslib {
|
|
public:
|
|
Creslib(void);
|
|
// TODO: 在此添加您的方法。
|
|
};
|
|
|
|
extern RESLIB_API int nreslib;
|
|
|
|
RESLIB_API int fnreslib(void);
|