diff options
| author | Elaine Houha <[email protected]> | 2024-02-05 10:25:29 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-05 10:25:29 -0800 |
| commit | 220545ea6e98af9259b66ea3983b51dbf3b2bf1e (patch) | |
| tree | 4e99ba9e0da4caec420e4f0941df6864589767dd /network/trans/WFPSampler/sys/CompletionFunctions_BasicStreamInjectionCallouts.cpp | |
| parent | 4757e838c7703d4a5edc1eed6a80b916dc40461d (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/WFPSampler/sys/CompletionFunctions_BasicStreamInjectionCallouts.cpp')
| -rw-r--r-- | network/trans/WFPSampler/sys/CompletionFunctions_BasicStreamInjectionCallouts.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/network/trans/WFPSampler/sys/CompletionFunctions_BasicStreamInjectionCallouts.cpp b/network/trans/WFPSampler/sys/CompletionFunctions_BasicStreamInjectionCallouts.cpp index 34dcc81d..7145b5ed 100644 --- a/network/trans/WFPSampler/sys/CompletionFunctions_BasicStreamInjectionCallouts.cpp +++ b/network/trans/WFPSampler/sys/CompletionFunctions_BasicStreamInjectionCallouts.cpp @@ -139,7 +139,9 @@ VOID NTAPI CompleteBasicStreamInjection(_In_ VOID* pContext, NT_ASSERT(pContext); NT_ASSERT(pNetBufferList); NT_ASSERT(NT_SUCCESS(pNetBufferList->Status) || - pNetBufferList->Status == STATUS_CONNECTION_ABORTED); + pNetBufferList->Status == STATUS_CONNECTION_ABORTED || + pNetBufferList->Status == STATUS_CONNECTION_RESET || + pNetBufferList->Status == STATUS_INVALID_DEVICE_STATE); if(pNetBufferList->Status != STATUS_SUCCESS) DbgPrintEx(DPFLTR_IHVNETWORK_ID, |
