//go:build !windows package win32 // SetClipboardText errors on non-Windows; callers should warn and fall // back to displaying the code in the UI. func SetClipboardText(s string) error { return ErrUnsupported } // GetForegroundWindow returns 0 on non-Windows so Auto-type sites can // detect the absence and skip. func GetForegroundWindow() uintptr { return 0 } // FocusWindow is a no-op on non-Windows. func FocusWindow(hwnd uintptr) error { return ErrUnsupported } // TypeUnicode is a no-op on non-Windows. func TypeUnicode(s string) error { return ErrUnsupported } // PressKey is a no-op on non-Windows. func PressKey(vk uint16) error { return ErrUnsupported } // VK_RETURN is exposed for cross-platform compile. const VK_RETURN uint16 = 0x0D