diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-26 13:04:00 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-26 14:48:41 -0600 |
commit | 1ed55c66cb5e246ca657398299cb490bc7d21f37 (patch) | |
tree | 84a72782b37f8e3db3675d981846299a1855bed8 /elevate/syscall_windows.go | |
parent | ui: enable priority boost (diff) | |
download | wireguard-windows-1ed55c66cb5e246ca657398299cb490bc7d21f37.tar.xz wireguard-windows-1ed55c66cb5e246ca657398299cb490bc7d21f37.zip |
elevate: use upstream windows directory function
Diffstat (limited to 'elevate/syscall_windows.go')
-rw-r--r-- | elevate/syscall_windows.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/elevate/syscall_windows.go b/elevate/syscall_windows.go index 2ee3587a..dba56375 100644 --- a/elevate/syscall_windows.go +++ b/elevate/syscall_windows.go @@ -78,8 +78,6 @@ const ( cCOINIT_APARTMENTTHREADED = 2 ) -//sys getSystemWindowsDirectory(windowsDirectory *uint16, inLen uint32) (outLen uint32, err error) [failretval==0] = kernel32.GetSystemWindowsDirectoryW - //sys rtlInitUnicodeString(destinationString *cUNICODE_STRING, sourceString *uint16) = ntdll.RtlInitUnicodeString //sys rtlGetCurrentPeb() (peb *cPEB) = ntdll.RtlGetCurrentPeb |