diff --git a/audio/sysvad/APO/AecApo/AecApo.vcxproj b/audio/sysvad/APO/AecApo/AecApo.vcxproj
index 37c814b16..4bbcd19a6 100644
--- a/audio/sysvad/APO/AecApo/AecApo.vcxproj
+++ b/audio/sysvad/APO/AecApo/AecApo.vcxproj
@@ -123,6 +123,7 @@
+ stdcpp17
true
Level4
%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE
@@ -147,6 +148,7 @@
+ stdcpp17
true
Level4
%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE
@@ -172,6 +174,7 @@
+ stdcpp17
true
Level4
%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE
@@ -196,6 +199,7 @@
+ stdcpp17
true
Level4
%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE
diff --git a/audio/sysvad/APO/DelayAPO/DelayAPO.vcxproj b/audio/sysvad/APO/DelayAPO/DelayAPO.vcxproj
index 81004ea00..391bf1ab7 100644
--- a/audio/sysvad/APO/DelayAPO/DelayAPO.vcxproj
+++ b/audio/sysvad/APO/DelayAPO/DelayAPO.vcxproj
@@ -123,6 +123,7 @@
+ stdcpp17
true
Level4
%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE
@@ -147,6 +148,7 @@
+ stdcpp17
true
Level4
%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE
@@ -172,6 +174,7 @@
+ stdcpp17
true
Level4
%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE
@@ -196,6 +199,7 @@
+ stdcpp17
true
Level4
%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE
diff --git a/audio/sysvad/APO/KWSApo/KWSApo.vcxproj b/audio/sysvad/APO/KWSApo/KWSApo.vcxproj
index 054309734..ff74c60bd 100644
--- a/audio/sysvad/APO/KWSApo/KWSApo.vcxproj
+++ b/audio/sysvad/APO/KWSApo/KWSApo.vcxproj
@@ -123,6 +123,7 @@
+ stdcpp17
true
Level4
%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE
@@ -147,6 +148,7 @@
+ stdcpp17
true
Level4
%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE
@@ -172,6 +174,7 @@
+ stdcpp17
true
Level4
%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE
@@ -196,6 +199,7 @@
+ stdcpp17
true
Level4
%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE
diff --git a/audio/sysvad/APO/SwapAPO/SwapAPO.vcxproj b/audio/sysvad/APO/SwapAPO/SwapAPO.vcxproj
index c1e2f27ad..43a5c87b5 100644
--- a/audio/sysvad/APO/SwapAPO/SwapAPO.vcxproj
+++ b/audio/sysvad/APO/SwapAPO/SwapAPO.vcxproj
@@ -123,6 +123,7 @@
+ stdcpp17
true
Level4
%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE
@@ -147,6 +148,7 @@
+ stdcpp17
true
Level4
%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE
@@ -172,6 +174,7 @@
+ stdcpp17
true
Level4
%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE
@@ -196,6 +199,7 @@
+ stdcpp17
true
Level4
%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE
diff --git a/audio/sysvad/EndpointsCommon/EndpointsCommon.vcxproj b/audio/sysvad/EndpointsCommon/EndpointsCommon.vcxproj
index aa5cc3e2d..c1ba8b14f 100644
--- a/audio/sysvad/EndpointsCommon/EndpointsCommon.vcxproj
+++ b/audio/sysvad/EndpointsCommon/EndpointsCommon.vcxproj
@@ -94,6 +94,7 @@
%(PreprocessorDefinitions);_USE_WAVERT_;SYSVAD_BTH_BYPASS;SYSVAD_USB_SIDEBAND
+ stdcpp17
%(AdditionalIncludeDirectories);$(DDK_INC_PATH);..;.
%(PreprocessorDefinitions);_USE_WAVERT_;SYSVAD_BTH_BYPASS;SYSVAD_USB_SIDEBAND;_NEW_DELETE_OPERATORS_
@@ -114,6 +115,7 @@
%(PreprocessorDefinitions);_USE_WAVERT_;SYSVAD_BTH_BYPASS;SYSVAD_USB_SIDEBAND
+ stdcpp17
%(AdditionalIncludeDirectories);$(DDK_INC_PATH);..;.
%(PreprocessorDefinitions);_USE_WAVERT_;SYSVAD_BTH_BYPASS;SYSVAD_USB_SIDEBAND;_NEW_DELETE_OPERATORS_
@@ -134,6 +136,7 @@
%(PreprocessorDefinitions);_USE_WAVERT_;SYSVAD_BTH_BYPASS;SYSVAD_USB_SIDEBAND
+ stdcpp17
%(AdditionalIncludeDirectories);$(DDK_INC_PATH);..;.
%(PreprocessorDefinitions);_USE_WAVERT_;SYSVAD_BTH_BYPASS;SYSVAD_USB_SIDEBAND;_NEW_DELETE_OPERATORS_
@@ -154,6 +157,7 @@
%(PreprocessorDefinitions);_USE_WAVERT_;SYSVAD_BTH_BYPASS;SYSVAD_USB_SIDEBAND
+ stdcpp17
%(AdditionalIncludeDirectories);$(DDK_INC_PATH);..;.
%(PreprocessorDefinitions);_USE_WAVERT_;SYSVAD_BTH_BYPASS;SYSVAD_USB_SIDEBAND;_NEW_DELETE_OPERATORS_
diff --git a/audio/sysvad/EndpointsCommon/NewDelete.cpp b/audio/sysvad/EndpointsCommon/NewDelete.cpp
index 64c64cc0e..daa076e29 100644
--- a/audio/sysvad/EndpointsCommon/NewDelete.cpp
+++ b/audio/sysvad/EndpointsCommon/NewDelete.cpp
@@ -103,6 +103,30 @@ void __cdecl operator delete
}
+/*****************************************************************************
+* ::delete()
+*****************************************************************************
+* Sized Delete function with alignment.
+*/
+#ifdef __cpp_aligned_new
+void __cdecl operator delete
+(
+ _Pre_maybenull_ __drv_freesMem(Mem) PVOID pVoid,
+ _In_ size_t cbSize,
+ _In_ std::align_val_t cbAlign
+)
+{
+ UNREFERENCED_PARAMETER(cbSize);
+ UNREFERENCED_PARAMETER(cbAlign);
+
+ if (pVoid)
+ {
+ ExFreePoolWithTag(pVoid, SYSVAD_POOLTAG);
+ }
+}
+#endif // __cpp_aligned_new
+
+
/*****************************************************************************
* ::delete()
*****************************************************************************
diff --git a/audio/sysvad/EndpointsCommon/NewDelete.h b/audio/sysvad/EndpointsCommon/NewDelete.h
index be46cbf5a..fefcda6e1 100644
--- a/audio/sysvad/EndpointsCommon/NewDelete.h
+++ b/audio/sysvad/EndpointsCommon/NewDelete.h
@@ -70,6 +70,21 @@ void __cdecl operator delete
);
+/*****************************************************************************
+* ::delete()
+*****************************************************************************
+* Sized Delete function with alignment.
+*/
+#ifdef __cpp_aligned_new
+void __cdecl operator delete
+(
+ _Pre_maybenull_ __drv_freesMem(Mem) PVOID pVoid,
+ _In_ size_t cbSize,
+ _In_ std::align_val_t cbAlign
+);
+#endif // __cpp_aligned_new
+
+
/*****************************************************************************
* ::delete()
*****************************************************************************
diff --git a/audio/sysvad/KeywordDetectorAdapter/KeywordDetectorContosoAdapter.vcxproj b/audio/sysvad/KeywordDetectorAdapter/KeywordDetectorContosoAdapter.vcxproj
index 592fefb2b..98726d7a2 100644
--- a/audio/sysvad/KeywordDetectorAdapter/KeywordDetectorContosoAdapter.vcxproj
+++ b/audio/sysvad/KeywordDetectorAdapter/KeywordDetectorContosoAdapter.vcxproj
@@ -111,6 +111,7 @@
+ stdcpp17
MultiThreaded
MultiThreadedDebug
true
@@ -135,6 +136,7 @@
+ stdcpp17
MultiThreaded
MultiThreadedDebug
true
@@ -159,6 +161,7 @@
+ stdcpp17
MultiThreaded
MultiThreadedDebug
true
@@ -183,6 +186,7 @@
+ stdcpp17
MultiThreaded
MultiThreadedDebug
true
diff --git a/audio/sysvad/TabletAudioSample/TabletAudioSample.vcxproj b/audio/sysvad/TabletAudioSample/TabletAudioSample.vcxproj
index 8e6e6ee47..a37a16b15 100644
--- a/audio/sysvad/TabletAudioSample/TabletAudioSample.vcxproj
+++ b/audio/sysvad/TabletAudioSample/TabletAudioSample.vcxproj
@@ -88,6 +88,7 @@
%(PreprocessorDefinitions);DEBUG_LEVEL=DEBUGLVL_TERSE
+ stdcpp17
%(AdditionalIncludeDirectories);$(DDK_INC_PATH);..
true
Level4
@@ -110,6 +111,7 @@
%(PreprocessorDefinitions);DEBUG_LEVEL=DEBUGLVL_TERSE
+ stdcpp17
%(AdditionalIncludeDirectories);$(DDK_INC_PATH);..
true
Level4
@@ -132,6 +134,7 @@
%(PreprocessorDefinitions);DEBUG_LEVEL=DEBUGLVL_TERSE
+ stdcpp17
%(AdditionalIncludeDirectories);$(DDK_INC_PATH);..
true
Level4
@@ -154,6 +157,7 @@
%(PreprocessorDefinitions);DEBUG_LEVEL=DEBUGLVL_TERSE
+ stdcpp17
%(AdditionalIncludeDirectories);$(DDK_INC_PATH);..
true
Level4
@@ -183,6 +187,7 @@
%(AdditionalDependencies);.\..\EndpointsCommon\$(IntDir)\EndpointsCommon.lib
+ stdcpp17