summaryrefslogtreecommitdiff
path: root/network/trans/ddproxy/sys
diff options
context:
space:
mode:
authorElaine Houha <[email protected]>2024-02-05 10:25:29 -0800
committerGitHub <[email protected]>2024-02-05 10:25:29 -0800
commit220545ea6e98af9259b66ea3983b51dbf3b2bf1e (patch)
tree4e99ba9e0da4caec420e4f0941df6864589767dd /network/trans/ddproxy/sys
parent4757e838c7703d4a5edc1eed6a80b916dc40461d (diff)
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 <[email protected]> Co-authored-by: JakobL-MSFT <[email protected]>
Diffstat (limited to 'network/trans/ddproxy/sys')
-rw-r--r--network/trans/ddproxy/sys/DD_proxy.c12
-rw-r--r--network/trans/ddproxy/sys/ddproxy.infbin3956 -> 1925 bytes
-rw-r--r--network/trans/ddproxy/sys/ddproxy.vcxproj2
3 files changed, 7 insertions, 7 deletions
diff --git a/network/trans/ddproxy/sys/DD_proxy.c b/network/trans/ddproxy/sys/DD_proxy.c
index aa41f060..089c273c 100644
--- a/network/trans/ddproxy/sys/DD_proxy.c
+++ b/network/trans/ddproxy/sys/DD_proxy.c
@@ -103,8 +103,8 @@ DDProxyFlowEstablishedClassify(
#endif /// (NTDDI_VERSION >= NTDDI_WIN7)
UNREFERENCED_PARAMETER(flowContext);
- flowContextLocal = ExAllocatePoolZero(
- NonPagedPool,
+ flowContextLocal = ExAllocatePool2(
+ POOL_FLAG_NON_PAGED,
sizeof(DD_PROXY_FLOW_CONTEXT),
DD_PROXY_FLOW_CONTEXT_POOL_TAG
);
@@ -333,8 +333,8 @@ DDProxyClassify(
goto Exit;
}
- packet = ExAllocatePoolZero(
- NonPagedPool,
+ packet = ExAllocatePool2(
+ POOL_FLAG_NON_PAGED,
sizeof(DD_PROXY_PENDED_PACKET),
DD_PROXY_PENDED_PACKET_POOL_TAG
);
@@ -410,8 +410,8 @@ DDProxyClassify(
{
NT_ASSERT(inMetaValues->controlDataLength > 0);
- packet->controlData = ExAllocatePoolZero(
- NonPagedPool,
+ packet->controlData = ExAllocatePool2(
+ POOL_FLAG_NON_PAGED,
inMetaValues->controlDataLength,
DD_PROXY_CONTROL_DATA_POOL_TAG
);
diff --git a/network/trans/ddproxy/sys/ddproxy.inf b/network/trans/ddproxy/sys/ddproxy.inf
index 9f91b652..be09889a 100644
--- a/network/trans/ddproxy/sys/ddproxy.inf
+++ b/network/trans/ddproxy/sys/ddproxy.inf
Binary files differ
diff --git a/network/trans/ddproxy/sys/ddproxy.vcxproj b/network/trans/ddproxy/sys/ddproxy.vcxproj
index db813981..1ce61e25 100644
--- a/network/trans/ddproxy/sys/ddproxy.vcxproj
+++ b/network/trans/ddproxy/sys/ddproxy.vcxproj
@@ -38,7 +38,7 @@
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<TargetVersion>Windows10</TargetVersion>
<UseDebugLibraries>True</UseDebugLibraries>
- <DriverTargetPlatform>Universal</DriverTargetPlatform>
+ <DriverTargetPlatform>Desktop</DriverTargetPlatform>
<DriverType>KMDF</DriverType>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
<ConfigurationType>Driver</ConfigurationType>