aboutsummaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-01 23:10:51 +0100
committerSimon Rozman <simon@rozman.si>2020-11-02 12:19:36 +0100
commit13494e979e3f67f97b9de37c589982e323c3eedc (patch)
tree5dd14a8e363711bea57aa712e4119abfe8616905 /api
parentapi: rename test to example and update a few things (diff)
downloadwintun-13494e979e3f67f97b9de37c589982e323c3eedc.tar.xz
wintun-13494e979e3f67f97b9de37c589982e323c3eedc.zip
api: pnf param is none
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'api')
-rw-r--r--api/adapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/adapter.c b/api/adapter.c
index 5431bc3..7063cf2 100644
--- a/api/adapter.c
+++ b/api/adapter.c
@@ -1489,7 +1489,7 @@ InstallDriver(_Out_writes_z_(MAX_PATH) WCHAR InfStorePath[MAX_PATH], _Inout_ BOO
}
LOG(WINTUN_LOG_INFO, L"Installing driver");
- if (!SetupCopyOEMInfW(InfPath, NULL, SPOST_PATH, 0, InfStorePath, MAX_PATH, NULL, NULL))
+ if (!SetupCopyOEMInfW(InfPath, NULL, SPOST_NONE, 0, InfStorePath, MAX_PATH, NULL, NULL))
{
Result = LOG_LAST_ERROR(L"Could not install driver to store");
goto cleanupCloseDevInfo;