source: trunk/MFCtooling/TestProg/targetver.h @ 479

Last change on this file since 479 was 32, checked in by sherbold, 14 years ago
File size: 1.4 KB
Line 
1
2#pragma once
3
4// The following macros define the minimum required platform.  The minimum required platform
5// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
6// your application.  The macros work by enabling all features available on platform versions up to and
7// including the version specified.
8
9// Modify the following defines if you have to target a platform prior to the ones specified below.
10// Refer to MSDN for the latest info on corresponding values for different platforms.
11#ifndef WINVER                          // Specifies that the minimum required platform is Windows Vista.
12#define WINVER 0x0600           // Change this to the appropriate value to target other versions of Windows.
13#endif
14
15#ifndef _WIN32_WINNT            // Specifies that the minimum required platform is Windows Vista.
16#define _WIN32_WINNT 0x0600     // Change this to the appropriate value to target other versions of Windows.
17#endif
18
19#ifndef _WIN32_WINDOWS          // Specifies that the minimum required platform is Windows 98.
20#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
21#endif
22
23#ifndef _WIN32_IE                       // Specifies that the minimum required platform is Internet Explorer 7.0.
24#define _WIN32_IE 0x0700        // Change this to the appropriate value to target other versions of IE.
25#endif
26
Note: See TracBrowser for help on using the repository browser.