#ifndef DECLARE_HANDLE32 #define DECLARE_HANDLE32(name)/ struct name##__ { int unused; };/ typedef const struct name##__ FAR* name #endif //!DECLARE_HANDLE32
6.Platform的编译版本的相关预处理宏:
Macro Description __cplusplus Defined for C++ programs only. _MFC_VER Defines the MFC version. Defined as 0x0421 for Microsoft Foundation Class Library 4.21. Always defined. _MSC_VER Defines the compiler version. Defined as 1200 for Microsoft Visual C++ 6.0. Always defined. _WIN32 Defined for applications for Win32®. Always defined.