Versions in this module Expand all Collapse all v2 v2.9.1 Jun 17, 2024 v2.9.0 Jun 16, 2024 v2.8.2 May 8, 2024 v2.8.1 Apr 11, 2024 v2.8.0 Feb 8, 2024 v2.7.1 Dec 9, 2023 v2.7.0 Dec 9, 2023 v2.6.0 Sep 6, 2023 v2.5.1 May 16, 2023 v2.5.0 May 13, 2023 v2.4.1 Mar 20, 2023 v2.4.0 Mar 8, 2023 v2.3.1 Dec 29, 2022 v2.3.0 Dec 29, 2022 Changes in this version + const COLOR_BTNFACE — windows/amd64 + const COLOR_WINDOW — windows/amd64 + const CS_HREDRAW — windows/amd64 + const CS_VREDRAW — windows/amd64 + const CW_USEDEFAULT — windows/amd64 + const GWLP_USERDATA — windows/amd64 + const HCF_HIGHCONTRASTON — windows/amd64 + const HWND_MESSAGE — windows/amd64 + const IDC_ARROW — windows/amd64 + const IDI_APPLICATION — windows/amd64 + const IMAGE_BITMAP — windows/amd64 + const IMAGE_ICON — windows/amd64 + const LR_DEFAULTSIZE — windows/amd64 + const LR_LOADFROMFILE — windows/amd64 + const MF_BYCOMMAND — windows/amd64 + const MF_CHECKED — windows/amd64 + const MF_DISABLED — windows/amd64 + const MF_ENABLED — windows/amd64 + const MF_GRAYED — windows/amd64 + const MF_MENUBARBREAK — windows/amd64 + const MF_POPUP — windows/amd64 + const MF_SEPARATOR — windows/amd64 + const MF_STRING — windows/amd64 + const MF_UNCHECKED — windows/amd64 + const MenuItemMsgID — windows/amd64 + const NIF_ICON — windows/amd64 + const NIF_INFO — windows/amd64 + const NIF_MESSAGE — windows/amd64 + const NIF_STATE — windows/amd64 + const NIF_TIP — windows/amd64 + const NIIF_ERROR — windows/amd64 + const NIIF_ICON_MASK — windows/amd64 + const NIIF_INFO — windows/amd64 + const NIIF_LARGE_ICON — windows/amd64 + const NIIF_NONE — windows/amd64 + const NIIF_NOSOUND — windows/amd64 + const NIIF_RESPECT_QUIET_TIME — windows/amd64 + const NIIF_USER — windows/amd64 + const NIIF_WARNING — windows/amd64 + const NIM_ADD — windows/amd64 + const NIM_DELETE — windows/amd64 + const NIM_MODIFY — windows/amd64 + const NIM_SETVERSION — windows/amd64 + const NIS_HIDDEN — windows/amd64 + const NOTIFYICON_VERSION — windows/amd64 + const NotifyIconMessageId — windows/amd64 + const SPI_GETHIGHCONTRAST — windows/amd64 + const TPM_LEFTALIGN — windows/amd64 + const VK_ACCEPT — windows/amd64 + const VK_ADD — windows/amd64 + const VK_APPS — windows/amd64 + const VK_ATTN — windows/amd64 + const VK_BACK — windows/amd64 + const VK_BROWSER_BACK — windows/amd64 + const VK_BROWSER_FAVORITES — windows/amd64 + const VK_BROWSER_FORWARD — windows/amd64 + const VK_BROWSER_HOME — windows/amd64 + const VK_BROWSER_REFRESH — windows/amd64 + const VK_BROWSER_SEARCH — windows/amd64 + const VK_BROWSER_STOP — windows/amd64 + const VK_CANCEL — windows/amd64 + const VK_CAPITAL — windows/amd64 + const VK_CLEAR — windows/amd64 + const VK_CONTROL — windows/amd64 + const VK_CONVERT — windows/amd64 + const VK_CRSEL — windows/amd64 + const VK_DECIMAL — windows/amd64 + const VK_DELETE — windows/amd64 + const VK_DIVIDE — windows/amd64 + const VK_DOWN — windows/amd64 + const VK_END — windows/amd64 + const VK_EREOF — windows/amd64 + const VK_ESCAPE — windows/amd64 + const VK_EXECUTE — windows/amd64 + const VK_EXSEL — windows/amd64 + const VK_F1 — windows/amd64 + const VK_F10 — windows/amd64 + const VK_F11 — windows/amd64 + const VK_F12 — windows/amd64 + const VK_F13 — windows/amd64 + const VK_F14 — windows/amd64 + const VK_F15 — windows/amd64 + const VK_F16 — windows/amd64 + const VK_F17 — windows/amd64 + const VK_F18 — windows/amd64 + const VK_F19 — windows/amd64 + const VK_F2 — windows/amd64 + const VK_F20 — windows/amd64 + const VK_F21 — windows/amd64 + const VK_F22 — windows/amd64 + const VK_F23 — windows/amd64 + const VK_F24 — windows/amd64 + const VK_F3 — windows/amd64 + const VK_F4 — windows/amd64 + const VK_F5 — windows/amd64 + const VK_F6 — windows/amd64 + const VK_F7 — windows/amd64 + const VK_F8 — windows/amd64 + const VK_F9 — windows/amd64 + const VK_FINAL — windows/amd64 + const VK_HANGEUL — windows/amd64 + const VK_HANGUL — windows/amd64 + const VK_HANJA — windows/amd64 + const VK_HELP — windows/amd64 + const VK_HOME — windows/amd64 + const VK_INSERT — windows/amd64 + const VK_JUNJA — windows/amd64 + const VK_KANA — windows/amd64 + const VK_KANJI — windows/amd64 + const VK_LAUNCH_APP1 — windows/amd64 + const VK_LAUNCH_APP2 — windows/amd64 + const VK_LAUNCH_MAIL — windows/amd64 + const VK_LAUNCH_MEDIA_SELECT — windows/amd64 + const VK_LBUTTON — windows/amd64 + const VK_LCONTROL — windows/amd64 + const VK_LEFT — windows/amd64 + const VK_LMENU — windows/amd64 + const VK_LSHIFT — windows/amd64 + const VK_LWIN — windows/amd64 + const VK_MBUTTON — windows/amd64 + const VK_MEDIA_NEXT_TRACK — windows/amd64 + const VK_MEDIA_PLAY_PAUSE — windows/amd64 + const VK_MEDIA_PREV_TRACK — windows/amd64 + const VK_MEDIA_STOP — windows/amd64 + const VK_MENU — windows/amd64 + const VK_MODECHANGE — windows/amd64 + const VK_MULTIPLY — windows/amd64 + const VK_NEXT — windows/amd64 + const VK_NONAME — windows/amd64 + const VK_NONCONVERT — windows/amd64 + const VK_NUMLOCK — windows/amd64 + const VK_NUMPAD0 — windows/amd64 + const VK_NUMPAD1 — windows/amd64 + const VK_NUMPAD2 — windows/amd64 + const VK_NUMPAD3 — windows/amd64 + const VK_NUMPAD4 — windows/amd64 + const VK_NUMPAD5 — windows/amd64 + const VK_NUMPAD6 — windows/amd64 + const VK_NUMPAD7 — windows/amd64 + const VK_NUMPAD8 — windows/amd64 + const VK_NUMPAD9 — windows/amd64 + const VK_OEM_1 — windows/amd64 + const VK_OEM_102 — windows/amd64 + const VK_OEM_2 — windows/amd64 + const VK_OEM_3 — windows/amd64 + const VK_OEM_4 — windows/amd64 + const VK_OEM_5 — windows/amd64 + const VK_OEM_6 — windows/amd64 + const VK_OEM_7 — windows/amd64 + const VK_OEM_8 — windows/amd64 + const VK_OEM_CLEAR — windows/amd64 + const VK_OEM_COMMA — windows/amd64 + const VK_OEM_MINUS — windows/amd64 + const VK_OEM_PERIOD — windows/amd64 + const VK_OEM_PLUS — windows/amd64 + const VK_PA1 — windows/amd64 + const VK_PACKET — windows/amd64 + const VK_PAUSE — windows/amd64 + const VK_PLAY — windows/amd64 + const VK_PRINT — windows/amd64 + const VK_PRIOR — windows/amd64 + const VK_PROCESSKEY — windows/amd64 + const VK_RBUTTON — windows/amd64 + const VK_RCONTROL — windows/amd64 + const VK_RETURN — windows/amd64 + const VK_RIGHT — windows/amd64 + const VK_RMENU — windows/amd64 + const VK_RSHIFT — windows/amd64 + const VK_RWIN — windows/amd64 + const VK_SCROLL — windows/amd64 + const VK_SELECT — windows/amd64 + const VK_SEPARATOR — windows/amd64 + const VK_SHIFT — windows/amd64 + const VK_SLEEP — windows/amd64 + const VK_SNAPSHOT — windows/amd64 + const VK_SPACE — windows/amd64 + const VK_SUBTRACT — windows/amd64 + const VK_TAB — windows/amd64 + const VK_UP — windows/amd64 + const VK_VOLUME_DOWN — windows/amd64 + const VK_VOLUME_MUTE — windows/amd64 + const VK_VOLUME_UP — windows/amd64 + const VK_XBUTTON1 — windows/amd64 + const VK_XBUTTON2 — windows/amd64 + const VK_ZOOM — windows/amd64 + const WM_ACTIVATE — windows/amd64 + const WM_ACTIVATEAPP — windows/amd64 + const WM_AFXFIRST — windows/amd64 + const WM_AFXLAST — windows/amd64 + const WM_APP — windows/amd64 + const WM_APPCOMMAND — windows/amd64 + const WM_ASKCBFORMATNAME — windows/amd64 + const WM_CANCELJOURNAL — windows/amd64 + const WM_CANCELMODE — windows/amd64 + const WM_CAPTURECHANGED — windows/amd64 + const WM_CHANGECBCHAIN — windows/amd64 + const WM_CHANGEUISTATE — windows/amd64 + const WM_CHAR — windows/amd64 + const WM_CHARTOITEM — windows/amd64 + const WM_CHILDACTIVATE — windows/amd64 + const WM_CLEAR — windows/amd64 + const WM_CLIPBOARDUPDATE — windows/amd64 + const WM_CLOSE — windows/amd64 + const WM_COMMAND — windows/amd64 + const WM_COMMNOTIFY — windows/amd64 + const WM_COMPACTING — windows/amd64 + const WM_COMPAREITEM — windows/amd64 + const WM_CONTEXTMENU — windows/amd64 + const WM_COPY — windows/amd64 + const WM_COPYDATA — windows/amd64 + const WM_CREATE — windows/amd64 + const WM_CTLCOLORBTN — windows/amd64 + const WM_CTLCOLORDLG — windows/amd64 + const WM_CTLCOLOREDIT — windows/amd64 + const WM_CTLCOLORLISTBOX — windows/amd64 + const WM_CTLCOLORMSGBOX — windows/amd64 + const WM_CTLCOLORSCROLLBAR — windows/amd64 + const WM_CTLCOLORSTATIC — windows/amd64 + const WM_CUT — windows/amd64 + const WM_DEADCHAR — windows/amd64 + const WM_DELETEITEM — windows/amd64 + const WM_DESTROY — windows/amd64 + const WM_DESTROYCLIPBOARD — windows/amd64 + const WM_DEVICECHANGE — windows/amd64 + const WM_DEVMODECHANGE — windows/amd64 + const WM_DISPLAYCHANGE — windows/amd64 + const WM_DRAWCLIPBOARD — windows/amd64 + const WM_DRAWITEM — windows/amd64 + const WM_DROPFILES — windows/amd64 + const WM_ENABLE — windows/amd64 + const WM_ENDSESSION — windows/amd64 + const WM_ENTERIDLE — windows/amd64 + const WM_ENTERMENULOOP — windows/amd64 + const WM_ENTERSIZEMOVE — windows/amd64 + const WM_ERASEBKGND — windows/amd64 + const WM_EXITMENULOOP — windows/amd64 + const WM_EXITSIZEMOVE — windows/amd64 + const WM_FONTCHANGE — windows/amd64 + const WM_GETDLGCODE — windows/amd64 + const WM_GETFONT — windows/amd64 + const WM_GETHOTKEY — windows/amd64 + const WM_GETICON — windows/amd64 + const WM_GETMINMAXINFO — windows/amd64 + const WM_GETOBJECT — windows/amd64 + const WM_GETTEXT — windows/amd64 + const WM_GETTEXTLENGTH — windows/amd64 + const WM_HANDHELDFIRST — windows/amd64 + const WM_HANDHELDLAST — windows/amd64 + const WM_HELP — windows/amd64 + const WM_HOTKEY — windows/amd64 + const WM_HSCROLL — windows/amd64 + const WM_HSCROLLCLIPBOARD — windows/amd64 + const WM_ICONERASEBKGND — windows/amd64 + const WM_INITDIALOG — windows/amd64 + const WM_INITMENU — windows/amd64 + const WM_INITMENUPOPUP — windows/amd64 + const WM_INPUT — windows/amd64 + const WM_INPUTLANGCHANGE — windows/amd64 + const WM_INPUTLANGCHANGEREQUEST — windows/amd64 + const WM_KEYDOWN — windows/amd64 + const WM_KEYFIRST — windows/amd64 + const WM_KEYLAST — windows/amd64 + const WM_KEYUP — windows/amd64 + const WM_KILLFOCUS — windows/amd64 + const WM_LBUTTONDBLCLK — windows/amd64 + const WM_LBUTTONDOWN — windows/amd64 + const WM_LBUTTONUP — windows/amd64 + const WM_MBUTTONDBLCLK — windows/amd64 + const WM_MBUTTONDOWN — windows/amd64 + const WM_MBUTTONUP — windows/amd64 + const WM_MDIACTIVATE — windows/amd64 + const WM_MDICASCADE — windows/amd64 + const WM_MDICREATE — windows/amd64 + const WM_MDIDESTROY — windows/amd64 + const WM_MDIGETACTIVE — windows/amd64 + const WM_MDIICONARRANGE — windows/amd64 + const WM_MDIMAXIMIZE — windows/amd64 + const WM_MDINEXT — windows/amd64 + const WM_MDIREFRESHMENU — windows/amd64 + const WM_MDIRESTORE — windows/amd64 + const WM_MDISETMENU — windows/amd64 + const WM_MDITILE — windows/amd64 + const WM_MEASUREITEM — windows/amd64 + const WM_MENUCHAR — windows/amd64 + const WM_MENUCOMMAND — windows/amd64 + const WM_MENUDRAG — windows/amd64 + const WM_MENUGETOBJECT — windows/amd64 + const WM_MENURBUTTONUP — windows/amd64 + const WM_MENUSELECT — windows/amd64 + const WM_MOUSEACTIVATE — windows/amd64 + const WM_MOUSEFIRST — windows/amd64 + const WM_MOUSEHOVER — windows/amd64 + const WM_MOUSELAST — windows/amd64 + const WM_MOUSELEAVE — windows/amd64 + const WM_MOUSEMOVE — windows/amd64 + const WM_MOUSEWHEEL — windows/amd64 + const WM_MOVE — windows/amd64 + const WM_MOVING — windows/amd64 + const WM_NCACTIVATE — windows/amd64 + const WM_NCCALCSIZE — windows/amd64 + const WM_NCCREATE — windows/amd64 + const WM_NCDESTROY — windows/amd64 + const WM_NCHITTEST — windows/amd64 + const WM_NCLBUTTONDBLCLK — windows/amd64 + const WM_NCLBUTTONDOWN — windows/amd64 + const WM_NCLBUTTONUP — windows/amd64 + const WM_NCMBUTTONDBLCLK — windows/amd64 + const WM_NCMBUTTONDOWN — windows/amd64 + const WM_NCMBUTTONUP — windows/amd64 + const WM_NCMOUSEHOVER — windows/amd64 + const WM_NCMOUSELEAVE — windows/amd64 + const WM_NCMOUSEMOVE — windows/amd64 + const WM_NCPAINT — windows/amd64 + const WM_NCRBUTTONDBLCLK — windows/amd64 + const WM_NCRBUTTONDOWN — windows/amd64 + const WM_NCRBUTTONUP — windows/amd64 + const WM_NCXBUTTONDBLCLK — windows/amd64 + const WM_NCXBUTTONDOWN — windows/amd64 + const WM_NCXBUTTONUP — windows/amd64 + const WM_NEXTDLGCTL — windows/amd64 + const WM_NEXTMENU — windows/amd64 + const WM_NOTIFY — windows/amd64 + const WM_NOTIFYFORMAT — windows/amd64 + const WM_NULL — windows/amd64 + const WM_PAINT — windows/amd64 + const WM_PAINTCLIPBOARD — windows/amd64 + const WM_PAINTICON — windows/amd64 + const WM_PALETTECHANGED — windows/amd64 + const WM_PALETTEISCHANGING — windows/amd64 + const WM_PARENTNOTIFY — windows/amd64 + const WM_PASTE — windows/amd64 + const WM_PENWINFIRST — windows/amd64 + const WM_PENWINLAST — windows/amd64 + const WM_POWER — windows/amd64 + const WM_PRINT — windows/amd64 + const WM_PRINTCLIENT — windows/amd64 + const WM_QUERYDRAGICON — windows/amd64 + const WM_QUERYENDSESSION — windows/amd64 + const WM_QUERYNEWPALETTE — windows/amd64 + const WM_QUERYOPEN — windows/amd64 + const WM_QUERYUISTATE — windows/amd64 + const WM_QUEUESYNC — windows/amd64 + const WM_QUIT — windows/amd64 + const WM_RBUTTONDBLCLK — windows/amd64 + const WM_RBUTTONDOWN — windows/amd64 + const WM_RBUTTONUP — windows/amd64 + const WM_RENDERALLFORMATS — windows/amd64 + const WM_RENDERFORMAT — windows/amd64 + const WM_SETCURSOR — windows/amd64 + const WM_SETFOCUS — windows/amd64 + const WM_SETFONT — windows/amd64 + const WM_SETHOTKEY — windows/amd64 + const WM_SETICON — windows/amd64 + const WM_SETREDRAW — windows/amd64 + const WM_SETTEXT — windows/amd64 + const WM_SETTINGCHANGE — windows/amd64 + const WM_SHOWWINDOW — windows/amd64 + const WM_SIZE — windows/amd64 + const WM_SIZECLIPBOARD — windows/amd64 + const WM_SIZING — windows/amd64 + const WM_SPOOLERSTATUS — windows/amd64 + const WM_STYLECHANGED — windows/amd64 + const WM_STYLECHANGING — windows/amd64 + const WM_SYNCPAINT — windows/amd64 + const WM_SYSCHAR — windows/amd64 + const WM_SYSCOLORCHANGE — windows/amd64 + const WM_SYSCOMMAND — windows/amd64 + const WM_SYSDEADCHAR — windows/amd64 + const WM_SYSKEYDOWN — windows/amd64 + const WM_SYSKEYUP — windows/amd64 + const WM_TCARD — windows/amd64 + const WM_THEMECHANGED — windows/amd64 + const WM_TIMECHANGE — windows/amd64 + const WM_TIMER — windows/amd64 + const WM_UNDO — windows/amd64 + const WM_UNINITMENUPOPUP — windows/amd64 + const WM_UPDATEUISTATE — windows/amd64 + const WM_USER — windows/amd64 + const WM_USERCHANGED — windows/amd64 + const WM_VKEYTOITEM — windows/amd64 + const WM_VSCROLL — windows/amd64 + const WM_VSCROLLCLIPBOARD — windows/amd64 + const WM_WINDOWPOSCHANGED — windows/amd64 + const WM_WINDOWPOSCHANGING — windows/amd64 + const WM_WININICHANGE — windows/amd64 + const WM_XBUTTONDBLCLK — windows/amd64 + const WM_XBUTTONDOWN — windows/amd64 + const WM_XBUTTONUP — windows/amd64 + const WS_CLIPSIBLINGS — windows/amd64 + const WS_EX_APPWINDOW — windows/amd64 + const WS_EX_CONTROLPARENT — windows/amd64 + const WS_EX_NOREDIRECTIONBITMAP — windows/amd64 + const WS_OVERLAPPEDWINDOW — windows/amd64 + var AllowDarkModeForWindow func(HWND, bool) uintptr — windows/amd64 + var KeyMap = map[string]Key — windows/amd64 + var ModifierMap = map[keys.Modifier]Modifiers — windows/amd64 + var NoShortcut = Shortcut — windows/amd64 + var SetPreferredAppMode func(int32) uintptr — windows/amd64 + func AltDown() bool — windows/amd64 + func CheckMenuItem(menu HMENU, id uintptr, flags uint) uint — windows/amd64 + func ControlDown() bool — windows/amd64 + func CreateAcceleratorTable(acc []Accelerator) uintptr — windows/amd64 + func CreateIconFromResourceEx(presbits uintptr, dwResSize uint32, isIcon bool, version uint32, cxDesired int, ...) (uintptr, error) — windows/amd64 + func DispatchMessage(msg *MSG) uintptr — windows/amd64 + func EnableBlurBehind(hwnd HWND) — windows/amd64 + func EnableTranslucency(hwnd HWND, backdrop BackdropType) — windows/amd64 + func GetCursorPos() (x, y int, ok bool) — windows/amd64 + func GetKeyState(nVirtKey int32) int16 — windows/amd64 + func GetMessage(msg *MSG) uintptr — windows/amd64 + func GetModuleHandle(value uintptr) uintptr — windows/amd64 + func IsCurrentlyDarkMode() bool — windows/amd64 + func IsCurrentlyHighContrastMode() bool — windows/amd64 + func IsDialogMessage(hwnd HWND, msg *MSG) uintptr — windows/amd64 + func IsWindowsVersionAtLeast(major, minor, buildNumber int) bool — windows/amd64 + func LoHiWords(input uint32) (uint16, uint16) — windows/amd64 + func MustStringToUTF16Ptr(input string) *uint16 — windows/amd64 + func MustStringToUTF16uintptr(input string) uintptr — windows/amd64 + func MustUTF16FromString(input string) []uint16 — windows/amd64 + func PostMessage(hwnd HWND, msg uint32, wParam, lParam uintptr) uintptr — windows/amd64 + func PostQuitMessage(exitCode int32) — windows/amd64 + func RegisterClass(className string, wndproc uintptr, instance HINSTANCE) error — windows/amd64 + func SetBorderColour(hwnd HWND, titleBorderColour int32) — windows/amd64 + func SetForegroundWindow(wnd HWND) bool — windows/amd64 + func SetTheme(hwnd HWND, useDarkMode bool) — windows/amd64 + func SetTitleBarColour(hwnd HWND, titleBarColour int32) — windows/amd64 + func SetTitleTextColour(hwnd HWND, titleTextColour int32) — windows/amd64 + func SetWindowCompositionAttribute(hwnd HWND, data *WINDOWCOMPOSITIONATTRIBDATA) bool — windows/amd64 + func SetWindowTheme(hwnd HWND, appName string, subIdList string) uintptr — windows/amd64 + func ShellNotifyIcon(cmd uintptr, nid *NOTIFYICONDATA) bool — windows/amd64 + func ShiftDown() bool — windows/amd64 + func SupportsBackdropTypes() bool — windows/amd64 + func SupportsCustomThemes() bool — windows/amd64 + func SupportsImmersiveDarkMode() bool — windows/amd64 + func SupportsThemes() bool — windows/amd64 + func TranslateAccelerator(hwnd HWND, hAccTable uintptr, lpMsg *MSG) bool — windows/amd64 + func TranslateMessage(msg *MSG) uintptr — windows/amd64 + func UTF16PtrToString(input uintptr) string — windows/amd64 + func WMMessageToString(msg uintptr) string — windows/amd64 + type ACCENT_POLICY struct — windows/amd64 + AccentFlags DWORD + AccentState ACCENT_STATE + AnimationId DWORD + GradientColor DWORD + type ACCENT_STATE DWORD — windows/amd64 + const ACCENT_DISABLED + const ACCENT_ENABLE_ACRYLICBLURBEHIND + const ACCENT_ENABLE_BLURBEHIND + const ACCENT_ENABLE_GRADIENT + const ACCENT_ENABLE_HOSTBACKDROP + const ACCENT_ENABLE_TRANSPARENTGRADIENT + const ACCENT_INVALID_STATE + type ATOM uint16 — windows/amd64 + func RegisterClassEx(wndClassEx *WNDCLASSEX) ATOM + type Accelerator struct — windows/amd64 + Cmd uint16 + Key uint16 + Virtual byte + type BackdropType int32 — windows/amd64 + const BackdropTypeAcrylic + const BackdropTypeAuto + const BackdropTypeMica + const BackdropTypeNone + const BackdropTypeTabbed + type DWMWINDOWATTRIBUTE int32 — windows/amd64 + const DwmwaBorderColor + const DwmwaCaptionColor + const DwmwaSystemBackdropType + const DwmwaTextColor + const DwmwaUseImmersiveDarkMode + const DwmwaUseImmersiveDarkModeBefore20h1 + type DWORD = uint32 — windows/amd64 + type HANDLE uintptr — windows/amd64 + type HBRUSH = HANDLE — windows/amd64 + type HCURSOR = HANDLE — windows/amd64 + func LoadCursorWithResourceID(instance HINSTANCE, res uintptr) HCURSOR + type HICON = HANDLE — windows/amd64 + func CreateHIconFromPNG(pngData []byte) (HICON, error) + func LoadIconWithResourceID(instance HINSTANCE, res uintptr) HICON + type HINSTANCE = HANDLE — windows/amd64 + type HMENU = HANDLE — windows/amd64 + type HWND = HANDLE — windows/amd64 + func CreateWindow(className string, instance HINSTANCE, parent HWND, exStyle, style uint) HWND + func CreateWindowEx(exStyle uint, className, windowName *uint16, style uint, ...) HWND + type Key uint16 — windows/amd64 + const Key0 + const Key1 + const Key2 + const Key3 + const Key4 + const Key5 + const Key6 + const Key7 + const Key8 + const Key9 + const KeyA + const KeyAccept + const KeyAdd + const KeyAlt + const KeyApps + const KeyAttn + const KeyB + const KeyBack + const KeyBrowserBack + const KeyBrowserFavorites + const KeyBrowserForward + const KeyBrowserHome + const KeyBrowserRefresh + const KeyBrowserSearch + const KeyBrowserStop + const KeyC + const KeyCRSel + const KeyCancel + const KeyCapital + const KeyClear + const KeyControl + const KeyConvert + const KeyD + const KeyDecimal + const KeyDelete + const KeyDivide + const KeyDown + const KeyE + const KeyEXSel + const KeyEnd + const KeyErEOF + const KeyEscape + const KeyExecute + const KeyF + const KeyF1 + const KeyF10 + const KeyF11 + const KeyF12 + const KeyF13 + const KeyF14 + const KeyF15 + const KeyF16 + const KeyF17 + const KeyF18 + const KeyF19 + const KeyF2 + const KeyF20 + const KeyF21 + const KeyF22 + const KeyF23 + const KeyF24 + const KeyF3 + const KeyF4 + const KeyF5 + const KeyF6 + const KeyF7 + const KeyF8 + const KeyF9 + const KeyFinal + const KeyG + const KeyH + const KeyHangul + const KeyHanja + const KeyHelp + const KeyHome + const KeyI + const KeyInsert + const KeyJ + const KeyJunja + const KeyK + const KeyKana + const KeyKanji + const KeyL + const KeyLAlt + const KeyLButton + const KeyLControl + const KeyLMenu + const KeyLShift + const KeyLWIN + const KeyLaunchApp1 + const KeyLaunchApp2 + const KeyLaunchMail + const KeyLaunchMediaSelect + const KeyLeft + const KeyM + const KeyMButton + const KeyMediaNextTrack + const KeyMediaPlayPause + const KeyMediaPrevTrack + const KeyMediaStop + const KeyMenu + const KeyModeChange + const KeyMultiply + const KeyN + const KeyNext + const KeyNoName + const KeyNonconvert + const KeyNumlock + const KeyNumpad0 + const KeyNumpad1 + const KeyNumpad2 + const KeyNumpad3 + const KeyNumpad4 + const KeyNumpad5 + const KeyNumpad6 + const KeyNumpad7 + const KeyNumpad8 + const KeyNumpad9 + const KeyO + const KeyOEM1 + const KeyOEM102 + const KeyOEM2 + const KeyOEM3 + const KeyOEM4 + const KeyOEM5 + const KeyOEM6 + const KeyOEM7 + const KeyOEM8 + const KeyOEMClear + const KeyOEMComma + const KeyOEMMinus + const KeyOEMPeriod + const KeyOEMPlus + const KeyP + const KeyPA1 + const KeyPacket + const KeyPause + const KeyPlay + const KeyPrint + const KeyPrior + const KeyProcessKey + const KeyQ + const KeyR + const KeyRAlt + const KeyRButton + const KeyRControl + const KeyRMenu + const KeyRShift + const KeyRWIN + const KeyReturn + const KeyRight + const KeyS + const KeyScroll + const KeySelect + const KeySeparator + const KeyShift + const KeySleep + const KeySnapshot + const KeySpace + const KeySubtract + const KeyT + const KeyTab + const KeyU + const KeyUp + const KeyV + const KeyVolumeDown + const KeyVolumeMute + const KeyVolumeUp + const KeyW + const KeyX + const KeyXButton1 + const KeyXButton2 + const KeyY + const KeyZ + const KeyZoom + func (k Key) String() string + type MSG struct — windows/amd64 + HWnd HWND + LParam uintptr + Message uint32 + Pt POINT + Time uint32 + WParam uintptr + type Menu HMENU — windows/amd64 + func (m Menu) Append(flags uintptr, id uintptr, text string) bool + func (m Menu) Check(id uintptr, check bool) bool + func (m Menu) CheckRadio(startID int, endID int, selectedID int) bool + func (m Menu) Destroy() bool + type MenuID uint16 — windows/amd64 + type Modifiers byte — windows/amd64 + const ModAlt + const ModControl + const ModShift + func ModifiersDown() Modifiers + func (m Modifiers) String() string + type NOTIFYICONDATA struct — windows/amd64 + CbSize uint32 + DwInfoFlags uint32 + DwState uint32 + DwStateMask uint32 + GuidItem windows.GUID + HBalloonIcon HICON + HIcon HICON + HWnd HWND + SzInfo [256]uint16 + SzInfoTitle [64]uint16 + SzTip [128]uint16 + UCallbackMessage uint32 + UFlags uint32 + UID uint32 + UVersion uint32 + type POINT struct — windows/amd64 + X int32 + Y int32 + type PopupMenu Menu — windows/amd64 + func CreatePopupMenu() PopupMenu + func (p PopupMenu) Append(flags uintptr, id uintptr, text string) bool + func (p PopupMenu) Check(id uintptr, checked bool) bool + func (p PopupMenu) CheckRadio(startID, endID, selectedID int) bool + func (p PopupMenu) Destroy() bool + func (p PopupMenu) Track(flags uint, x, y int, wnd HWND) bool + type PreferredAppMode = int32 — windows/amd64 + const PreferredAppModeAllowDark + const PreferredAppModeDefault + const PreferredAppModeForceDark + const PreferredAppModeForceLight + const PreferredAppModeMax + type Shortcut struct — windows/amd64 + Key Key + Modifiers Modifiers + func AcceleratorToShortcut(accelerator *keys.Accelerator) Shortcut + func (s Shortcut) String() string + type WINDOWCOMPOSITIONATTRIB DWORD — windows/amd64 + const WCA_ACCENT_POLICY + type WINDOWCOMPOSITIONATTRIBDATA struct — windows/amd64 + Attrib WINDOWCOMPOSITIONATTRIB + CbData uintptr + PvData unsafe.Pointer + type WNDCLASSEX struct — windows/amd64 + CbClsExtra int32 + CbSize uint32 + CbWndExtra int32 + HCursor HCURSOR + HIcon HICON + HIconSm HICON + HInstance HINSTANCE + HbrBackground HBRUSH + LpfnWndProc uintptr + LpszClassName *uint16 + LpszMenuName *uint16 + Style uint32 + type WindowProc func(hwnd HWND, msg uint32, wparam, lparam uintptr) uintptr — windows/amd64