// Package win32 wraps the small set of Win32 APIs winauth-go needs for // platform-specific UX: single-instance locking, global hotkeys, key // injection, clipboard access, and foreground-window juggling. // // All exported functions are no-ops or return ErrUnsupported on // non-Windows platforms. Callers should treat failure as informational // (warn + continue) rather than fatal — none of this functionality is // load-bearing for the core authenticator code. package win32 import "errors" // ErrUnsupported is returned by every entry point when the build is not // Windows. Callers should test with errors.Is. var ErrUnsupported = errors.New("win32: feature only available on Windows")