diff options
| author | 2026-05-04 23:33:13 +0200 | |
|---|---|---|
| committer | 2026-05-07 14:24:51 +0200 | |
| commit | 765f429ac12b1d39b22df4e8beb3a0558a9d9e82 (patch) | |
| tree | a7d4e7372d9b3e67a611d6fa9b20a204bf813741 /api/api.vcxproj | |
| parent | version: bump (diff) | |
| download | wireguard-nt-jd/cm_register_notification.tar.xz wireguard-nt-jd/cm_register_notification.zip | |
api: use CM_Register_Notification instead of DevCreateObjectQueryjd/cm_register_notification
CM_Register_Notification uses lower level WNF notifications, rather than
the more convoluted registry-based watching. Hopefully this addresses
certain races with incoming events.
See comments in link. This didn't work.
Link: https://github.com/WireGuard/wintun/pull/7
Suggested-by: Aaron Klotz <aaron@tailscale.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'api/api.vcxproj')
| -rw-r--r-- | api/api.vcxproj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/api.vcxproj b/api/api.vcxproj index 0520b78..fd7c8e5 100644 --- a/api/api.vcxproj +++ b/api/api.vcxproj @@ -34,7 +34,7 @@ <PreprocessorDefinitions Condition="'$(Platform)'=='ARM'">WANT_ARM64_WOW64;%(PreprocessorDefinitions)</PreprocessorDefinitions> </ResourceCompile> <Link> - <DelayLoadDLLs>advapi32.dll;api-ms-win-devices-query-l1-1-0.dll;api-ms-win-devices-swdevice-l1-1-0.dll;cfgmgr32.dll;iphlpapi.dll;ole32.dll;nci.dll;setupapi.dll;shlwapi.dll;version.dll</DelayLoadDLLs> + <DelayLoadDLLs>advapi32.dll;api-ms-win-devices-swdevice-l1-1-0.dll;cfgmgr32.dll;iphlpapi.dll;ole32.dll;nci.dll;setupapi.dll;shlwapi.dll;version.dll</DelayLoadDLLs> <DelayLoadDLLs Condition="'$(Platform)'!='ARM64'">shell32.dll;%(DelayLoadDLLs)</DelayLoadDLLs> <AdditionalDependencies>Cfgmgr32.lib;Iphlpapi.lib;onecore.lib;$(IntDir)nci.lib;ntdll.lib;Setupapi.lib;shlwapi.lib;swdevice.lib;version.lib;%(AdditionalDependencies)</AdditionalDependencies> <ModuleDefinitionFile>exports.def</ModuleDefinitionFile> |
