123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- // stdafx.h : 标准系统包含文件的包含文件,
- // 或是经常使用但不常更改的
- // 特定于项目的包含文件
- //
- #pragma once
- #include "targetver.h"
- // 关闭 MFC 对某些常见但经常被安全忽略的警告消息的隐藏
- #define _AFX_ALL_WARNINGS
- #include <afxwin.h> // MFC 核心和标准组件
- //#include <afxext.h> // MFC 扩展
- //#include <afxdisp.h> // MFC 自动化类
- //
- //#include <afxdtctl.h> // Internet Explorer 4 公共控件的 MFC 支持
- //#ifndef _AFX_NO_AFXCMN_SUPPORT
- //#include <afxcmn.h> // Windows 公共控件的 MFC 支持
- //#endif // _AFX_NO_AFXCMN_SUPPORT
- #define WIN32_LEAN_AND_MEAN // 从 Windows 头文件中排除极少使用的信息
- // Windows 头文件:
- #include <windows.h>
- // TODO: 在此处引用程序需要的其他头文件
- #include "Log4CPP.Logger.hpp"
- #include "Log4CPP.TLSLog.Tracing.hpp"
- #include "mLog.Log4CPP.hpp"
- namespace CCOS
- {
- namespace Dev
- {
- class IODriver;
- }
- }
- extern HMODULE hMyModule;
- using tCallPredate = std::function <LRESULT(void*, UINT, WPARAM, LPARAM)>;
- extern "C" __declspec(dllexport) CCOS::Dev::IODriver * __cdecl GetIODriver ();
- extern "C" __declspec(dllexport) CCOS::Dev::IODriver * __cdecl CreateIODriver();
- //extern "C" __declspec(dllexport) int __cdecl GetDeviceManager ();
|