aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/elevate/syscall_windows.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-08-26 13:04:00 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2019-08-26 14:48:41 -0600
commit45a74f31931015fbb567f80447732684576b315a (patch)
tree84a72782b37f8e3db3675d981846299a1855bed8 /elevate/syscall_windows.go
parentui: enable priority boost (diff)
downloadwireguard-windows-45a74f31931015fbb567f80447732684576b315a.tar.xz
wireguard-windows-45a74f31931015fbb567f80447732684576b315a.zip
elevate: use upstream windows directory function
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'elevate/syscall_windows.go')
-rw-r--r--elevate/syscall_windows.go2
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