diff --git a/appveyor.yml b/appveyor.yml
index dcaf3b0..f6e908e 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -23,6 +23,7 @@ install:
cd "C:\projects\DMF"
git pull > NUL
git apply "%APPVEYOR_BUILD_FOLDER%\patches\dmf-optimizations.diff
+ git apply "%APPVEYOR_BUILD_FOLDER%\patches\dmf-sdk10.0.19041.0.diff
cd %appveyor_build_folder%
before_build:
- ps: Invoke-WebRequest "https://github.com/nefarius/vpatch/releases/latest/download/vpatch.exe" -OutFile vpatch.exe
diff --git a/patches/dmf-sdk10.0.19041.0.diff b/patches/dmf-sdk10.0.19041.0.diff
new file mode 100644
index 0000000..aec46df
--- /dev/null
+++ b/patches/dmf-sdk10.0.19041.0.diff
@@ -0,0 +1,342 @@
+ Dmf/Solution/DmfK/DmfK.vcxproj | 12 ++++++------
+ Dmf/Solution/DmfKFramework/DmfKFramework.vcxproj | 12 ++++++------
+ Dmf/Solution/DmfKModules.Library/DmfKModules.Library.vcxproj | 12 ++++++------
+ .../DmfKModules.Template/DmfKModules.Template.vcxproj | 12 ++++++------
+ Dmf/Solution/DmfU/DmfU.vcxproj | 2 +-
+ Dmf/Solution/DmfUFramework/DmfUFramework.vcxproj | 12 ++++++------
+ Dmf/Solution/DmfUModules.Library/DmfUModules.Library.vcxproj | 12 ++++++------
+ .../DmfUModules.Template/DmfUModules.Template.vcxproj | 8 ++++----
+ 8 files changed, 41 insertions(+), 41 deletions(-)
+
+diff --git a/Dmf/Solution/DmfK/DmfK.vcxproj b/Dmf/Solution/DmfK/DmfK.vcxproj
+index 738397c..3e3a9e2 100644
+--- a/Dmf/Solution/DmfK/DmfK.vcxproj
++++ b/Dmf/Solution/DmfK/DmfK.vcxproj
+@@ -44,37 +44,37 @@
+ true
+ Unicode
+ WindowsKernelModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ true
+ Unicode
+ WindowsKernelModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ true
+ Unicode
+ WindowsKernelModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ false
+ Unicode
+ WindowsKernelModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ false
+ Unicode
+ WindowsKernelModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ false
+ Unicode
+ WindowsKernelModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ DbgengKernelDebugger
+diff --git a/Dmf/Solution/DmfKFramework/DmfKFramework.vcxproj b/Dmf/Solution/DmfKFramework/DmfKFramework.vcxproj
+index 13d2475..5393c32 100644
+--- a/Dmf/Solution/DmfKFramework/DmfKFramework.vcxproj
++++ b/Dmf/Solution/DmfKFramework/DmfKFramework.vcxproj
+@@ -80,37 +80,37 @@
+ true
+ Unicode
+ WindowsKernelModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ true
+ Unicode
+ WindowsKernelModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ true
+ Unicode
+ WindowsKernelModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ false
+ Unicode
+ WindowsKernelModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ false
+ Unicode
+ WindowsKernelModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ false
+ Unicode
+ WindowsKernelModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ DbgengKernelDebugger
+diff --git a/Dmf/Solution/DmfKModules.Library/DmfKModules.Library.vcxproj b/Dmf/Solution/DmfKModules.Library/DmfKModules.Library.vcxproj
+index 1ba20c5..e420619 100644
+--- a/Dmf/Solution/DmfKModules.Library/DmfKModules.Library.vcxproj
++++ b/Dmf/Solution/DmfKModules.Library/DmfKModules.Library.vcxproj
+@@ -167,37 +167,37 @@
+ true
+ Unicode
+ WindowsKernelModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ true
+ Unicode
+ WindowsKernelModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ true
+ Unicode
+ WindowsKernelModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ false
+ Unicode
+ WindowsKernelModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ false
+ Unicode
+ WindowsKernelModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ false
+ Unicode
+ WindowsKernelModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ DbgengKernelDebugger
+diff --git a/Dmf/Solution/DmfKModules.Template/DmfKModules.Template.vcxproj b/Dmf/Solution/DmfKModules.Template/DmfKModules.Template.vcxproj
+index 0d0ef4c..c46ff9e 100644
+--- a/Dmf/Solution/DmfKModules.Template/DmfKModules.Template.vcxproj
++++ b/Dmf/Solution/DmfKModules.Template/DmfKModules.Template.vcxproj
+@@ -44,13 +44,13 @@
+ true
+ Unicode
+ WindowsKernelModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ false
+ Unicode
+ WindowsKernelModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ DbgengKernelDebugger
+@@ -132,13 +132,13 @@
+ OldStyle
+ .c.C.cpp.CPP.h.H
+ true
+- /d2guardsignret %(AdditionalOptions)
++ /d2guardsignret %(AdditionalOptions)
+
+
+ %(AdditionalLibraryDirectories)
+ %(AdditionalDependencies);setupapi.lib;cfgmgr32.lib;wpprecorder.lib;
+ true
+- /guard:delayloadsignret %(AdditionalOptions)
++ /guard:delayloadsignret %(AdditionalOptions)
+
+
+ false
+@@ -206,13 +206,13 @@
+ OldStyle
+ .c.C.cpp.CPP.h.H
+ true
+- /d2guardsignret %(AdditionalOptions)
++ /d2guardsignret %(AdditionalOptions)
+
+
+ %(AdditionalLibraryDirectories)
+ %(AdditionalDependencies);setupapi.lib;cfgmgr32.lib;wpprecorder.lib;
+ true
+- /guard:delayloadsignret %(AdditionalOptions)
++ /guard:delayloadsignret %(AdditionalOptions)
+
+
+ false
+diff --git a/Dmf/Solution/DmfU/DmfU.vcxproj b/Dmf/Solution/DmfU/DmfU.vcxproj
+index 9b9dd48..e8c31a4 100644
+--- a/Dmf/Solution/DmfU/DmfU.vcxproj
++++ b/Dmf/Solution/DmfU/DmfU.vcxproj
+@@ -46,7 +46,7 @@
+ WindowsUserModeDriver10.0
+ False
+ True
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ DbgengKernelDebugger
+diff --git a/Dmf/Solution/DmfUFramework/DmfUFramework.vcxproj b/Dmf/Solution/DmfUFramework/DmfUFramework.vcxproj
+index 7ba02d9..54342c8 100644
+--- a/Dmf/Solution/DmfUFramework/DmfUFramework.vcxproj
++++ b/Dmf/Solution/DmfUFramework/DmfUFramework.vcxproj
+@@ -45,32 +45,32 @@
+
+ true
+ WindowsUserModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ false
+ WindowsUserModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ true
+ WindowsUserModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ true
+ WindowsUserModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ false
+ WindowsUserModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ false
+ WindowsUserModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ DbgengKernelDebugger
+diff --git a/Dmf/Solution/DmfUModules.Library/DmfUModules.Library.vcxproj b/Dmf/Solution/DmfUModules.Library/DmfUModules.Library.vcxproj
+index 214e8bb..f11336b 100644
+--- a/Dmf/Solution/DmfUModules.Library/DmfUModules.Library.vcxproj
++++ b/Dmf/Solution/DmfUModules.Library/DmfUModules.Library.vcxproj
+@@ -45,32 +45,32 @@
+
+ true
+ WindowsUserModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ false
+ WindowsUserModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ true
+ WindowsUserModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ true
+ WindowsUserModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ false
+ WindowsUserModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ false
+ WindowsUserModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ DbgengKernelDebugger
+diff --git a/Dmf/Solution/DmfUModules.Template/DmfUModules.Template.vcxproj b/Dmf/Solution/DmfUModules.Template/DmfUModules.Template.vcxproj
+index 7c285cc..c83ffe0 100644
+--- a/Dmf/Solution/DmfUModules.Template/DmfUModules.Template.vcxproj
++++ b/Dmf/Solution/DmfUModules.Template/DmfUModules.Template.vcxproj
+@@ -45,12 +45,12 @@
+
+ true
+ WindowsUserModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+ false
+ WindowsUserModeDriver10.0
+- $(LatestTargetPlatformVersion)
++ 10.0.19041.0
+
+
+
+@@ -86,7 +86,7 @@
+ stdcpp17
+
+
+- /d2guardsignret %(AdditionalOptions)
++ /d2guardsignret %(AdditionalOptions)
+
+
+ %(AdditionalDependencies);hid.lib;setupapi.lib;cfgmgr32.lib;
+@@ -94,7 +94,7 @@
+
+
+
+- /guard:delayloadsignret %(AdditionalOptions)
++ /guard:delayloadsignret %(AdditionalOptions)
+
+
+
diff --git a/sys/ViGEmBus.vcxproj b/sys/ViGEmBus.vcxproj
index 500071b..c9828a6 100644
--- a/sys/ViGEmBus.vcxproj
+++ b/sys/ViGEmBus.vcxproj
@@ -68,7 +68,7 @@
Debug
Win32
ViGEmBus
- $(LatestTargetPlatformVersion)
+ 10.0.19041.0
*
$(APPVEYOR_BUILD_VERSION)