diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-14 11:33:51 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-14 11:33:51 +0200 |
commit | a78c7464b1c7790fb43fa0f3e0bd15b057f9c31e (patch) | |
tree | 80a3f0465b6eca0458087c29feb93101bced4342 /main.go | |
parent | build: we no longer use security attributes (diff) | |
download | wireguard-windows-a78c7464b1c7790fb43fa0f3e0bd15b057f9c31e.tar.xz wireguard-windows-a78c7464b1c7790fb43fa0f3e0bd15b057f9c31e.zip |
global: use tab after //sys
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -32,8 +32,8 @@ var flags = [...]string{ "/dumplog OUTPUT_PATH", } -//sys messageBoxEx(hwnd windows.Handle, text *uint16, title *uint16, typ uint, languageId uint16) = user32.MessageBoxExW -//sys isWow64Process(handle windows.Handle, isWow64 *bool) (err error) = kernel32.IsWow64Process +//sys messageBoxEx(hwnd windows.Handle, text *uint16, title *uint16, typ uint, languageId uint16) = user32.MessageBoxExW +//sys isWow64Process(handle windows.Handle, isWow64 *bool) (err error) = kernel32.IsWow64Process func fatal(v ...interface{}) { messageBoxEx(0, windows.StringToUTF16Ptr(fmt.Sprint(v...)), windows.StringToUTF16Ptr("Error"), 0x00000010, 0) @@ -90,7 +90,7 @@ func checkForAdminGroup() { } } -//sys shellExecute(hwnd windows.Handle, verb *uint16, file *uint16, args *uint16, cwd *uint16, showCmd int) (err error) = shell32.ShellExecuteW +//sys shellExecute(hwnd windows.Handle, verb *uint16, file *uint16, args *uint16, cwd *uint16, showCmd int) (err error) = shell32.ShellExecuteW func execElevatedManagerServiceInstaller() error { path, err := os.Executable() if err != nil { |