From 65e03a918274534015ca189bfadc33cbba9e3ec8 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Fri, 6 Nov 2020 05:24:50 +0100 Subject: wintun: load wintun.dll from RCDATA resource Signed-off-by: Simon Rozman Signed-off-by: Jason A. Donenfeld --- tun/wintun/memmod/mksyscall.go | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tun/wintun/memmod/mksyscall.go (limited to 'tun/wintun/memmod/mksyscall.go') diff --git a/tun/wintun/memmod/mksyscall.go b/tun/wintun/memmod/mksyscall.go new file mode 100644 index 0000000..81400ea --- /dev/null +++ b/tun/wintun/memmod/mksyscall.go @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: MIT + * + * Copyright (C) 2020 WireGuard LLC. All Rights Reserved. + */ + +package memmod + +//go:generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go syscall_windows.go -- cgit v1.2.3-59-g8ed1b