From b6303091fc8c11cf86b92e9c4287c0ba74e77e87 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 27 Nov 2020 13:13:45 +0100 Subject: memmod: fix import loading function usage Signed-off-by: Jason A. Donenfeld --- tun/wintun/memmod/syscall_windows.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'tun/wintun/memmod/syscall_windows.go') 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 { -- cgit v1.2.3