Documentation ¶
Rendered for windows/amd64
Index ¶
- Constants
- func CreateWindowEx(dwExStyle uint32, lpClassName, lpWindowName *uint16, dwStyle uint32, ...) uintptr
- func DefWindowProc(hWnd HWND, Msg uint32, wParam, lParam uintptr) uintptr
- func DestroyWindow(hWnd uintptr) bool
- func DispatchMessage(msg *MSG) uintptr
- func IsUserAnAdmin() (bool, error)
- func PeekMessage(lpMsg *MSG, hWnd uintptr, wMsgFilterMin, wMsgFilterMax, wRemoveMsg uint32) bool
- func PostMessage(hWnd HWND, msg uint32, wParam, lParam uintptr) uintptr
- func PostQuitMessage(exitCode int32)
- func SendMessage(hWnd HWND, msg uint32, wParam, lParam uintptr) uintptr
- func SetForegroundWindow(hWnd HWND) bool
- type ATOM
- type HANDLE
- type HBRUSH
- type HCURSOR
- type HICON
- type HINSTANCE
- type HMENU
- type HMODULE
- type HWND
- type MSG
- type POINT
- type WNDCLASSEX
Constants ¶
View Source
const ( WM_DESTROY = 2 WM_QUIT = 18 )
Window message constants
View Source
const (
HWND_MESSAGE = ^HWND(2) // -3
)
Predefined window handles
View Source
const (
WM_USER = 1024
)
Window message constants
Variables ¶
This section is empty.
Functions ¶
func CreateWindowEx ¶
func DestroyWindow ¶
func DispatchMessage ¶
func IsUserAnAdmin ¶
func PeekMessage ¶
func PostQuitMessage ¶
func PostQuitMessage(exitCode int32)
func SetForegroundWindow ¶
Types ¶
type ATOM ¶
type ATOM uint16
func RegisterClassEx ¶
func RegisterClassEx(windowClass *WNDCLASSEX) ATOM
Click to show internal directories.
Click to hide internal directories.