From b20980a63d4d35794c5266fef6b96f9199ab83d0 Mon Sep 17 00:00:00 2001 From: Wei Mao Date: Thu, 20 Mar 2025 13:25:54 -0700 Subject: Update samples to use WDF v15+ --- .../ndis/ndisprot_kmdf/notifyob/ProtNotify.vcxproj | 50 +++++++++++----------- .../WDI/PLATFORM/NDIS6/SDIO/n6c_sdio.inc.props | 2 +- 2 files changed, 26 insertions(+), 26 deletions(-) (limited to 'network') diff --git a/network/ndis/ndisprot_kmdf/notifyob/ProtNotify.vcxproj b/network/ndis/ndisprot_kmdf/notifyob/ProtNotify.vcxproj index 82f995bd..629ce98a 100644 --- a/network/ndis/ndisprot_kmdf/notifyob/ProtNotify.vcxproj +++ b/network/ndis/ndisprot_kmdf/notifyob/ProtNotify.vcxproj @@ -22,7 +22,7 @@ {E92C4A1E-396E-4CAF-A5DB-44901F07C515} $(MSBuildProjectName) 1 - 11 + 15 false true Debug @@ -213,16 +213,16 @@ - %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=11 - %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.11 + %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=15 + %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.15 - %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=11 - %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.11 + %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=15 + %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.15 - %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=11 - %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.11 + %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=15 + %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.15 ProtNotify.def @@ -230,16 +230,16 @@ - %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=11 - %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.11 + %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=15 + %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.15 - %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=11 - %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.11 + %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=15 + %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.15 - %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=11 - %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.11 + %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=15 + %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.15 ProtNotify.def @@ -247,16 +247,16 @@ - %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=11 - %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.11 + %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=15 + %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.15 - %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=11 - %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.11 + %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=15 + %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.15 - %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=11 - %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.11 + %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=15 + %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.15 ProtNotify.def @@ -264,16 +264,16 @@ - %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=11 - %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.11 + %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=15 + %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.15 - %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=11 - %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.11 + %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=15 + %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.15 - %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=11 - %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.11 + %(PreprocessorDefinitions);KMDF_VERSION_MAJOR=1;KMDF_VERSION_MINOR=15 + %(AdditionalIncludeDirectories);$(WDKContentRoot)\Include\wdf\kmdf\1.15 ProtNotify.def diff --git a/network/wlan/WDI/PLATFORM/NDIS6/SDIO/n6c_sdio.inc.props b/network/wlan/WDI/PLATFORM/NDIS6/SDIO/n6c_sdio.inc.props index 95559b3c..48fb4917 100644 --- a/network/wlan/WDI/PLATFORM/NDIS6/SDIO/n6c_sdio.inc.props +++ b/network/wlan/WDI/PLATFORM/NDIS6/SDIO/n6c_sdio.inc.props @@ -17,7 +17,7 @@ 11 11 - 13 + 15 -DNDIS_MINIPORT_DRIVER -DNDIS60_MINIPORT=1 -DBINARY_COMPATIBLE=0 -DUSE_KLOCKS=1 -DNDIS_MINIPORT_DRIVER -DNDIS60_MINIPORT=1 -DNDIS61_MINIPORT=1 -DNDIS620_MINIPORT=1 -DBINARY_COMPATIBLE=0 -DUSE_KLOCKS=1 -- cgit v1.3.1 From ee60abcd73e358f0a3f25cb5101f981e04a99168 Mon Sep 17 00:00:00 2001 From: Elaine Houha <38798233+houha2@users.noreply.github.com> Date: Tue, 1 Apr 2025 16:36:24 -0700 Subject: Fixes Linker Error for the WFP Samples (#1281) removes inline Co-authored-by: Elaine Houha --- network/trans/WFPSampler/syslib/HelperFunctions_RedirectData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'network') diff --git a/network/trans/WFPSampler/syslib/HelperFunctions_RedirectData.cpp b/network/trans/WFPSampler/syslib/HelperFunctions_RedirectData.cpp index 2671e276..22f08c60 100644 --- a/network/trans/WFPSampler/syslib/HelperFunctions_RedirectData.cpp +++ b/network/trans/WFPSampler/syslib/HelperFunctions_RedirectData.cpp @@ -132,7 +132,7 @@ _IRQL_requires_min_(PASSIVE_LEVEL) _IRQL_requires_max_(DISPATCH_LEVEL) _IRQL_requires_same_ _Success_(*ppRedirectData == 0) -inline VOID KrnlHlprRedirectDataDestroy(_Inout_ REDIRECT_DATA** ppRedirectData) +VOID KrnlHlprRedirectDataDestroy(_Inout_ REDIRECT_DATA** ppRedirectData) { #if DBG -- cgit v1.3.1