diff options
author | Simon Rozman <simon@rozman.si> | 2020-10-15 15:34:31 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-10-30 16:51:00 +0100 |
commit | 8272da638e76810c8bafd7e5d1a1217b2026c7da (patch) | |
tree | 9b924dc4614a7631b582ca3cc4d0d9a8707730a6 /api/api.h | |
parent | api: arrange rundll32 a console logger (diff) | |
download | wintun-8272da638e76810c8bafd7e5d1a1217b2026c7da.tar.xz wintun-8272da638e76810c8bafd7e5d1a1217b2026c7da.zip |
api: unify security descriptors and disable for _DEBUG
When debugger is attached, CreateDirectory() with SYSTEM-only SID fails
with "This security ID may not be assigned as the owner of this object.
(Code 0x0000051B)".
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'api/api.h')
-rw-r--r-- | api/api.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -17,6 +17,7 @@ typedef _Return_type_success_(return == ERROR_SUCCESS) DWORD WINTUN_STATUS; extern HINSTANCE ResourceModule; +extern SECURITY_ATTRIBUTES *SecurityAttributes; /** * Returns the version of the Wintun driver and NDIS system currently loaded. |