From 220545ea6e98af9259b66ea3983b51dbf3b2bf1e Mon Sep 17 00:00:00 2001 From: Elaine Houha <38798233+houha2@users.noreply.github.com> Date: Mon, 5 Feb 2024 10:25:29 -0800 Subject: Updating the Windows Filtering Platform Samples to compile correctly on VS2022 (#1089) * ddproxy compiles on VS2022 * inspect compiles on VS2022 * stmEdit compiles on VS2022 * sampler compiles on VS2022 * changes some encodings and updates the stmedit version * restores the vcxproj * more vcxproj fixes * ddproxy inf * stmedit vcxproj pt2 * stmd sln * Update exclusions.csv * all but one flavor compiles on NI EWDK * found a bug in an assert * Builds clean for all drivers except WfpSampler on both WDK 17.1.5 and 17.8.2, WFPSampler changes get it to build on WDK 17.1.5 but there are still issues with 17.8.2 --------- Co-authored-by: Elaine Houha Co-authored-by: JakobL-MSFT <110699333+JakobL-MSFT@users.noreply.github.com> --- network/trans/WFPSampler/syslib/HelperFunctions_FwpObjects.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'network/trans/WFPSampler/syslib/HelperFunctions_FwpObjects.cpp') diff --git a/network/trans/WFPSampler/syslib/HelperFunctions_FwpObjects.cpp b/network/trans/WFPSampler/syslib/HelperFunctions_FwpObjects.cpp index cc9a0646..f792472a 100644 --- a/network/trans/WFPSampler/syslib/HelperFunctions_FwpObjects.cpp +++ b/network/trans/WFPSampler/syslib/HelperFunctions_FwpObjects.cpp @@ -6331,7 +6331,7 @@ _IRQL_requires_min_(PASSIVE_LEVEL) _IRQL_requires_max_(DISPATCH_LEVEL) _IRQL_requires_same_ _Success_(*ppMetadata == 0) -inline VOID KrnlHlprFwpsIncomingMetadataValuesDestroyLocalCopy(_Inout_ FWPS_INCOMING_METADATA_VALUES** ppMetadata) +VOID KrnlHlprFwpsIncomingMetadataValuesDestroyLocalCopy(_Inout_ FWPS_INCOMING_METADATA_VALUES** ppMetadata) { #if DBG @@ -7169,7 +7169,7 @@ _IRQL_requires_min_(PASSIVE_LEVEL) _IRQL_requires_max_(DISPATCH_LEVEL) _IRQL_requires_same_ _Success_(*ppIOPacket == 0) -inline VOID KrnlHlprFwpsStreamCalloutIOPacketDestroyLocalCopy(_Inout_ FWPS_STREAM_CALLOUT_IO_PACKET** ppIOPacket) +VOID KrnlHlprFwpsStreamCalloutIOPacketDestroyLocalCopy(_Inout_ FWPS_STREAM_CALLOUT_IO_PACKET** ppIOPacket) { #if DBG -- cgit v1.3.1