diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-01 03:19:21 +0100 |
---|---|---|
committer | Simon Rozman <simon@rozman.si> | 2020-11-02 09:17:47 +0100 |
commit | dfa53185d0624365fc2fc3c0fe0aa098589d7b5b (patch) | |
tree | ad549ba384b61a0c6450361ed707082277862721 /api/rundll32.c | |
parent | api: separate out driver installation (diff) | |
download | wintun-dfa53185d0624365fc2fc3c0fe0aa098589d7b5b.tar.xz wintun-dfa53185d0624365fc2fc3c0fe0aa098589d7b5b.zip |
api: check for duplicate adapter status
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'api/rundll32.c')
-rw-r--r-- | api/rundll32.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/rundll32.c b/api/rundll32.c index 1fa0bb1..3da204b 100644 --- a/api/rundll32.c +++ b/api/rundll32.c @@ -168,6 +168,7 @@ VOID __stdcall DoThingsForDebugging(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLin WintunEndSession(Session); assert(WintunDeleteAdapter(Adapter, TRUE, &RebootRequired) == ERROR_SUCCESS); assert(!RebootRequired); + system("pause"); } #endif |