• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #pragma once
2 
3 // The following macros define the minimum required platform.  The minimum required platform
4 // is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
5 // your application.  The macros work by enabling all features available on platform versions up to and
6 // including the version specified.
7 
8 // Modify the following defines if you have to target a platform prior to the ones specified below.
9 // Refer to MSDN for the latest info on corresponding values for different platforms.
10 #ifndef WINVER                          // Specifies that the minimum required platform is Windows Vista.
11 #define WINVER 0x0600           // Change this to the appropriate value to target other versions of Windows.
12 #endif
13 
14 #ifndef _WIN32_WINNT            // Specifies that the minimum required platform is Windows Vista.
15 #define _WIN32_WINNT 0x0600     // Change this to the appropriate value to target other versions of Windows.
16 #endif
17 
18 #ifndef _WIN32_WINDOWS          // Specifies that the minimum required platform is Windows 98.
19 #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
20 #endif
21 
22 #ifndef _WIN32_IE                       // Specifies that the minimum required platform is Internet Explorer 7.0.
23 #define _WIN32_IE 0x0700        // Change this to the appropriate value to target other versions of IE.
24 #endif
25