-
Notifications
You must be signed in to change notification settings - Fork 12
/
targetver.h
39 lines (32 loc) · 1.72 KB
/
targetver.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#pragma once
// The following macros define the minimum required platform. The minimum required platform
// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
// your application. The macros work by enabling all features available on platform versions up to and
// including the version specified.
// Modify the following defines if you have to target a platform prior to the ones specified below.
// Refer to MSDN for the latest info on corresponding values for different platforms.
//Windows 950x0400
// Windows 98 0x0410
//Windows ME 0x0490
//NT 4.0 0x0400 (_WIN32_WINNT defined)
//Windows 2000 0x0500
//Windows XP 0x0501
//Windows 2003 0x0502
//Windows 8 0x0602
//Windows 7 0x0601
//Windows Server 2008 0x0600
//Windows Vista 0x0600
//Windows Server 2003 with SP1, Windows XP with SP2 0x0502
//Windows Server 2003, Windows XP 0x0501
#ifndef WINVER // Specifies that the minimum required platform is Windows Vista.
#define WINVER 0x0400 // Change this to the appropriate value to target other versions of Windows.
#endif
#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows NT.
#define _WIN32_WINNT 0x0400 // Change this to the appropriate value to target other versions of Windows.
#endif
#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98.
#define _WIN32_WINDOWS 0x0400 // Change this to the appropriate value to target Windows Me or later.
#endif
#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0.
#define _WIN32_IE 0x0600 // Change this to the appropriate value to target other versions of IE.
#endif