//go:build !windows package win32 type WindowSubclass struct{} func InstallCloseHook(hwnd uintptr, onClose func() bool) (*WindowSubclass, error) { return nil, ErrUnsupported } func (s *WindowSubclass) Remove() {} func ShowWindow(hwnd uintptr, cmdShow int32) {} const ( SW_HIDE int32 = 0 SW_SHOW int32 = 5 SW_RESTORE int32 = 9 ) func FindWindowByTitle(title string) uintptr { return 0 } func PostCloseMessage(hwnd uintptr) {}