• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2011 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #pragma once
18 
19 // The following macros define the minimum required platform.  The minimum required platform
20 // is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
21 // your application.  The macros work by enabling all features available on platform versions up to and
22 // including the version specified.
23 
24 // Modify the following defines if you have to target a platform prior to the ones specified below.
25 // Refer to MSDN for the latest info on corresponding values for different platforms.
26 #ifndef WINVER                          // Specifies that the minimum required platform is Windows Vista.
27 #define WINVER 0x0600           // Change this to the appropriate value to target other versions of Windows.
28 #endif
29 
30 #ifndef _WIN32_WINNT            // Specifies that the minimum required platform is Windows Vista.
31 #define _WIN32_WINNT 0x0600     // Change this to the appropriate value to target other versions of Windows.
32 #endif
33 
34 #ifndef _WIN32_WINDOWS          // Specifies that the minimum required platform is Windows 98.
35 #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
36 #endif
37 
38 #ifndef _WIN32_IE                       // Specifies that the minimum required platform is Internet Explorer 7.0.
39 #define _WIN32_IE 0x0700        // Change this to the appropriate value to target other versions of IE.
40 #endif
41