Documentation ¶
Index ¶
- Constants
- func AttachConsole() error
- func DefWindowProc(hWnd HWND, msg uint32, wParam, lParam uintptr) uintptr
- func DispatchMessage(msg *MSG) uintptr
- func FixConsoleIfNeeded() error
- func GetLastError() uint32
- func MAKEINTRESOURCE(id uintptr) *uint16
- func PostQuitMessage(exitCode int32)
- func TranslateMessage(msg *MSG) bool
- type ATOM
- type BOOL
- type HACCEL
- type HANDLE
- type HBRUSH
- type HCURSOR
- type HDWP
- type HGDIOBJ
- type HGLOBAL
- type HICON
- type HINSTANCE
- type HMENU
- type HMONITOR
- type HRAWINPUT
- type HRESULT
- type HWND
- type MSG
- type POINT
- type WNDCLASSEX
Constants ¶
View Source
const ( //revive:disable:var-naming,exported IDI_APPLICATION = 32512 IDC_IBEAM = 32513 BLACK_BRUSH = 4 WM_COPYDATA = 74 WM_DESTROY = 2 WM_CLOSE = 16 WM_QUERYENDSESSION = 17 WM_QUIT = 18 WS_EX_TOOLWINDOW = 0x00000080 WS_EX_APPWINDOW = 0x00040000 ATTACH_PARENT_PROCESS = uintptr(^uint32(0)) // (DWORD)-1 ERROR_INVALID_HANDLE = 6 )
Variables ¶
This section is empty.
Functions ¶
func AttachConsole ¶
func AttachConsole() error
func DispatchMessage ¶
func FixConsoleIfNeeded ¶
func FixConsoleIfNeeded() error
func GetLastError ¶
func GetLastError() uint32
func MAKEINTRESOURCE ¶
func PostQuitMessage ¶
func PostQuitMessage(exitCode int32)
func TranslateMessage ¶
Types ¶
type ATOM ¶
type ATOM uint16
func RegisterClassEx ¶
func RegisterClassEx(windowClass *WNDCLASSEX) ATOM
Click to show internal directories.
Click to hide internal directories.