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 /service | |
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 '')
-rw-r--r-- | service/securityapi.go | 6 | ||||
-rw-r--r-- | service/tunneltracker.go | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/service/securityapi.go b/service/securityapi.go index b7171198..497f43ce 100644 --- a/service/securityapi.go +++ b/service/securityapi.go @@ -51,9 +51,9 @@ type WTS_SESSION_INFO struct { State uint32 } -//sys wtsQueryUserToken(session uint32, token *windows.Token) (err error) = wtsapi32.WTSQueryUserToken -//sys wtsEnumerateSessions(handle windows.Handle, reserved uint32, version uint32, sessions **WTS_SESSION_INFO, count *uint32) (err error) = wtsapi32.WTSEnumerateSessionsW -//sys wtsFreeMemory(ptr uintptr) = wtsapi32.WTSFreeMemory +//sys wtsQueryUserToken(session uint32, token *windows.Token) (err error) = wtsapi32.WTSQueryUserToken +//sys wtsEnumerateSessions(handle windows.Handle, reserved uint32, version uint32, sessions **WTS_SESSION_INFO, count *uint32) (err error) = wtsapi32.WTSEnumerateSessionsW +//sys wtsFreeMemory(ptr uintptr) = wtsapi32.WTSFreeMemory const ( SE_GROUP_ENABLED = 0x00000004 diff --git a/service/tunneltracker.go b/service/tunneltracker.go index e0f5414a..313be830 100644 --- a/service/tunneltracker.go +++ b/service/tunneltracker.go @@ -19,8 +19,8 @@ import ( "golang.zx2c4.com/wireguard/windows/conf" ) -//sys notifyServiceStatusChange(service windows.Handle, notifyMask uint32, notifier *SERVICE_NOTIFY) (ret error) = advapi32.NotifyServiceStatusChangeW -//sys sleepEx(milliseconds uint32, alertable bool) (ret uint32) = kernel32.SleepEx +//sys notifyServiceStatusChange(service windows.Handle, notifyMask uint32, notifier *SERVICE_NOTIFY) (ret error) = advapi32.NotifyServiceStatusChangeW +//sys sleepEx(milliseconds uint32, alertable bool) (ret uint32) = kernel32.SleepEx const ( SERVICE_NOTIFY_STATUS_CHANGE = 2 |