aboutsummaryrefslogtreecommitdiffstats
path: root/tun/wintun/memmod/syscall_windows.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-27 13:13:45 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-27 13:13:45 +0100
commitb6303091fc8c11cf86b92e9c4287c0ba74e77e87 (patch)
tree349499c7c01fd63e80e4bc01b2f196c67f567abc /tun/wintun/memmod/syscall_windows.go
parentwintun: log when reboot is suggested by Windows (diff)
downloadwireguard-go-b6303091fc8c11cf86b92e9c4287c0ba74e77e87.tar.xz
wireguard-go-b6303091fc8c11cf86b92e9c4287c0ba74e77e87.zip
memmod: fix import loading function usage
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tun/wintun/memmod/syscall_windows.go')
-rw-r--r--tun/wintun/memmod/syscall_windows.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/tun/wintun/memmod/syscall_windows.go b/tun/wintun/memmod/syscall_windows.go
index beae415..0b29cb9 100644
--- a/tun/wintun/memmod/syscall_windows.go
+++ b/tun/wintun/memmod/syscall_windows.go
@@ -324,8 +324,6 @@ const (
DLL_PROCESS_DETACH = 0
)
-//sys loadLibraryA(libFileName *byte) (module windows.Handle, err error) = kernel32.LoadLibraryA
-//sys getProcAddress(module windows.Handle, procName *byte) (addr uintptr, err error) = kernel32.GetProcAddress
//sys isBadReadPtr(addr uintptr, ucb uintptr) (ret bool) = kernel32.IsBadReadPtr
type SYSTEM_INFO struct {