#if (_WIN32_WINNT >= 0x0500) // Windows 2000以上
#if (_WIN32_WINNT >= 0x0501) // Windows XP以上
#if (_WIN32_WINNT >= 0x0600) // Windows Vista以上
MFC App、PC机上(Windows CE没有定义)
#ifdef _WIN32_WINDOWS
#if (_WIN32_WINDOWS >= 0x0400) // Windows 95以上
#if (_WIN32_WINDOWS >= 0x0410) // Windows 98以上
#if (_WIN32_WINDOWS >= 0x0500) // Windows Me以上
#if (WINVER >= 0x030a) // Windows 3.1以上
#if (WINVER >= 0x0400) // Windows 95/NT4.0以上
#if (WINVER >= 0x0410) // Windows 98以上
#if (WINVER >= 0x0500) // Windows Me/2000以上
#if (WINVER >= 0x0501) // Windows XP以上
#if (WINVER >= 0x0600) // Windows Vista以上
32bit
#ifdef _WIN32(或者WIN32)
64bit
#ifdef _WIN64
GUI App
#ifdef _WINDOWS
CUI App
#ifdef _CONSOLE
Windows的Ver … WINVER
※ PC机Windows(95/98/Me/NT/2000/XP/Vista)和Windows CE都定义了
Windows 95/98/Me的Ver … _WIN32_WINDOWS
Windows NT的Ver … _WIN32_WINNT
Windows CE(PocketPC)
#ifdef _WIN32_WCE
Windows CE … WINCEOSVER
Windows CE
WCE_IF
Internet Explorer的Ver … _WIN32_IE