Skip to content

Commit

Permalink
update targetver.h to a modern version
Browse files Browse the repository at this point in the history
  • Loading branch information
determ1ne committed May 23, 2023
1 parent 8da0777 commit 7cc34f1
Show file tree
Hide file tree
Showing 12 changed files with 108 additions and 135 deletions.
17 changes: 8 additions & 9 deletions PyWeasel/targetver.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#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.
// Including SDKDDKVer.h defines the highest available Windows platform.

// 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.
#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista.
#define _WIN32_WINNT 0x0603 // Change this to the appropriate value to target other versions of Windows.
#endif
// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.

#include <WinSDKVer.h>

#define _WIN32_WINNT _WIN32_WINNT_WINBLUE // Specifies that the minimum required platform is Windows 8.1.

#include <SDKDDKVer.h>
20 changes: 10 additions & 10 deletions RimeWithWeasel/targetver.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#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.
#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows XP.
#define _WIN32_WINNT 0x0603 // Change this to the appropriate value to target other versions of Windows.
#endif
// Including SDKDDKVer.h defines the highest available Windows platform.

// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.

#include <WinSDKVer.h>

#define _WIN32_WINNT _WIN32_WINNT_WINBLUE // Specifies that the minimum required platform is Windows 8.1.

#include <SDKDDKVer.h>
20 changes: 10 additions & 10 deletions WeaselDeployer/targetver.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#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.
#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows XP.
#define _WIN32_WINNT 0x0603 // Change this to the appropriate value to target other versions of Windows.
#endif
// Including SDKDDKVer.h defines the highest available Windows platform.

// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.

#include <WinSDKVer.h>

#define _WIN32_WINNT _WIN32_WINNT_WINBLUE // Specifies that the minimum required platform is Windows 8.1.

#include <SDKDDKVer.h>
24 changes: 6 additions & 18 deletions WeaselIME/targetver.h
Original file line number Diff line number Diff line change
@@ -1,24 +1,12 @@
#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.
// Including SDKDDKVer.h defines the highest available Windows platform.

// 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.
#ifndef WINVER // Specifies that the minimum required platform is Windows XP.
#define WINVER 0x0603 // Change this to the appropriate value to target other versions of Windows.
#endif
// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.

#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows XP.
#define _WIN32_WINNT 0x0603 // Change this to the appropriate value to target other versions of Windows.
#endif
#include <WinSDKVer.h>

#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98.
#define _WIN32_WINDOWS 0x0603 // Change this to the appropriate value to target Windows Me or later.
#endif
#define _WIN32_WINNT _WIN32_WINNT_WINBLUE // Specifies that the minimum required platform is Windows 8.1.

#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 4.0.
#define _WIN32_IE 0x0600 // Change this to the appropriate value to target other versions of IE.
#endif
#include <SDKDDKVer.h>
20 changes: 10 additions & 10 deletions WeaselIPC/targetver.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#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.
#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows XP.
#define _WIN32_WINNT 0x0603 // Change this to the appropriate value to target other versions of Windows.
#endif
// Including SDKDDKVer.h defines the highest available Windows platform.

// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.

#include <WinSDKVer.h>

#define _WIN32_WINNT _WIN32_WINNT_WINBLUE // Specifies that the minimum required platform is Windows 8.1.

#include <SDKDDKVer.h>
20 changes: 10 additions & 10 deletions WeaselIPCServer/targetver.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#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.
#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista.
#define _WIN32_WINNT 0x0603 // Change this to the appropriate value to target other versions of Windows.
#endif
// Including SDKDDKVer.h defines the highest available Windows platform.

// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.

#include <WinSDKVer.h>

#define _WIN32_WINNT _WIN32_WINNT_WINBLUE // Specifies that the minimum required platform is Windows 8.1.

#include <SDKDDKVer.h>
20 changes: 10 additions & 10 deletions WeaselSetup/targetver.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#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.
#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows XP.
#define _WIN32_WINNT 0x0603 // Change this to the appropriate value to target other versions of Windows.
#endif
// Including SDKDDKVer.h defines the highest available Windows platform.

// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.

#include <WinSDKVer.h>

#define _WIN32_WINNT _WIN32_WINNT_WINBLUE // Specifies that the minimum required platform is Windows 8.1.

#include <SDKDDKVer.h>
24 changes: 6 additions & 18 deletions WeaselTSF/targetver.h
Original file line number Diff line number Diff line change
@@ -1,24 +1,12 @@
#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.
// Including SDKDDKVer.h defines the highest available Windows platform.

// 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.
#ifndef WINVER // Specifies that the minimum required platform is Windows XP.
#define WINVER 0x0603 // Change this to the appropriate value to target other versions of Windows.
#endif
// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.

#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows XP.
#define _WIN32_WINNT 0x0603 // Change this to the appropriate value to target other versions of Windows.
#endif
#include <WinSDKVer.h>

#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98.
#define _WIN32_WINDOWS 0x0603 // Change this to the appropriate value to target Windows Me or later.
#endif
#define _WIN32_WINNT _WIN32_WINNT_WINBLUE // Specifies that the minimum required platform is Windows 8.1.

#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 4.0.
#define _WIN32_IE 0x0600 // Change this to the appropriate value to target other versions of IE.
#endif
#include <SDKDDKVer.h>
21 changes: 10 additions & 11 deletions WeaselUI/targetver.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#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.
#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows XP.
#define _WIN32_WINNT 0x0603 // Change this to the appropriate value to target other versions of Windows.
#define NTDDI_VERSION NTDDI_WINBLUE
#endif
// Including SDKDDKVer.h defines the highest available Windows platform.

// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.

#include <WinSDKVer.h>

#define _WIN32_WINNT _WIN32_WINNT_WINBLUE // Specifies that the minimum required platform is Windows 8.1.

#include <SDKDDKVer.h>
17 changes: 8 additions & 9 deletions test/TestPyWeasel/targetver.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#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.
// Including SDKDDKVer.h defines the highest available Windows platform.

// 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.
#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista.
#define _WIN32_WINNT 0x0603 // Change this to the appropriate value to target other versions of Windows.
#endif
// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.

#include <WinSDKVer.h>

#define _WIN32_WINNT _WIN32_WINNT_WINBLUE // Specifies that the minimum required platform is Windows 8.1.

#include <SDKDDKVer.h>
20 changes: 10 additions & 10 deletions test/TestResponseParser/targetver.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#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.
#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows XP.
#define _WIN32_WINNT 0x0603 // Change this to the appropriate value to target other versions of Windows.
#endif
// Including SDKDDKVer.h defines the highest available Windows platform.

// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.

#include <WinSDKVer.h>

#define _WIN32_WINNT _WIN32_WINNT_WINBLUE // Specifies that the minimum required platform is Windows 8.1.

#include <SDKDDKVer.h>
20 changes: 10 additions & 10 deletions test/TestWeaselIPC/targetver.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#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.
#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows XP.
#define _WIN32_WINNT 0x0603 // Change this to the appropriate value to target other versions of Windows.
#endif
// Including SDKDDKVer.h defines the highest available Windows platform.

// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.

#include <WinSDKVer.h>

#define _WIN32_WINNT _WIN32_WINNT_WINBLUE // Specifies that the minimum required platform is Windows 8.1.

#include <SDKDDKVer.h>

0 comments on commit 7cc34f1

Please sign in to comment.