diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-01-22 18:24:33 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-01-24 00:12:24 +0100 |
commit | fc41f439f573fce3efdd37017f072f86cb7828ff (patch) | |
tree | 1889c42f4a4dc5190c88c87ec2a05d172a396459 /elevate/syscall_windows.go | |
parent | embeddable-dll-service: add more robust example for .NET 5 (diff) | |
download | wireguard-windows-fc41f439f573fce3efdd37017f072f86cb7828ff.tar.xz wireguard-windows-fc41f439f573fce3efdd37017f072f86cb7828ff.zip |
global: move certain win32 APIs to x/sys/windows
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'elevate/syscall_windows.go')
-rw-r--r-- | elevate/syscall_windows.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/elevate/syscall_windows.go b/elevate/syscall_windows.go index 4f114711..b854fe7e 100644 --- a/elevate/syscall_windows.go +++ b/elevate/syscall_windows.go @@ -84,6 +84,3 @@ const ( //sys coInitializeEx(reserved uintptr, coInit uint32) (ret error) = ole32.CoInitializeEx //sys coUninitialize() = ole32.CoUninitialize //sys coGetObject(name *uint16, bindOpts *cBIND_OPTS3, guid *windows.GUID, functionTable ***[0xffff]uintptr) (ret error) = ole32.CoGetObject - -//sys getWindowThreadProcessId(hwnd uintptr, pid *uint32) (tid uint32, err error) = user32.GetWindowThreadProcessId -//sys getShellWindow() (hwnd uintptr) = user32.GetShellWindow |