diff options
author | Simon Rozman <simon@rozman.si> | 2019-06-20 09:46:52 +0200 |
---|---|---|
committer | Simon Rozman <simon@rozman.si> | 2019-06-20 11:54:58 +0200 |
commit | 85b4a769cf698b0b1b1ecab5c96c6f3dba057511 (patch) | |
tree | 13ea06dab138e9ff7c05ce0c9bebfd6c84b66db3 /wintun.vcxproj | |
parent | Distinguish NDIS_STATUS and NTSTATUS (diff) | |
download | wintun-85b4a769cf698b0b1b1ecab5c96c6f3dba057511.tar.xz wintun-85b4a769cf698b0b1b1ecab5c96c6f3dba057511.zip |
Replace PnP notifications with IRP_MJ_PNP dispatch handler
By replacing the NDIS' IRP_MJ_PNP dispatch handler we get the first
chance to clear the NBL queue to make NDIS proceed to TunPause() on
device removal.
This method is simpler than PnP notifications and we are chasing
surprise removal issues in WHLK tests. If this works, I'll hopefully
come back and update this commit message.
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'wintun.vcxproj')
-rw-r--r-- | wintun.vcxproj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wintun.vcxproj b/wintun.vcxproj index 082c78b..ad386d5 100644 --- a/wintun.vcxproj +++ b/wintun.vcxproj @@ -132,7 +132,7 @@ <PreprocessorDefinitions>WINTUN_VERSION_MAJ=$(WintunVersionMaj);WINTUN_VERSION_MIN=$(WintunVersionMin);WINTUN_VERSION_STR="$(WintunVersionStr)";NDIS_MINIPORT_DRIVER=1;NDIS620_MINIPORT=1;NDIS630_MINIPORT=1;NDIS_WDM=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> </ResourceCompile> <Link> - <AdditionalDependencies>ndis.lib;wdmsec.lib;uuid.lib;%(AdditionalDependencies)</AdditionalDependencies> + <AdditionalDependencies>ndis.lib;wdmsec.lib;%(AdditionalDependencies)</AdditionalDependencies> </Link> <DriverSign> <FileDigestAlgorithm>sha256</FileDigestAlgorithm> |