zenity/internal/win/kernel32.go

12 lines
391 B
Go
Raw Normal View History

2022-06-18 19:48:38 -04:00
//go:build windows
package win
import "golang.org/x/sys/windows"
func GetCurrentThreadId() (id uint32) { return windows.GetCurrentThreadId() }
func GetSystemDirectory() (string, error) { return windows.GetSystemDirectory() }
//sys GetConsoleWindow() (ret HWND) = kernel32.GetConsoleWindow
//sys GetModuleHandle(moduleName *uint16) (ret Handle, err error) = kernel32.GetModuleHandleW