winuser

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

Variables

This section is empty.

Functions

This section is empty.

Types

type EventInfo

type EventInfo struct {
	DeviceType types.DWORD
	Guid       windows.GUID
	DeviceName string
	EventType  EventType
}

type EventType

type EventType int

type Notifier

type Notifier struct {
	Channel chan EventInfo
}

func (*Notifier) WndProc

func (n *Notifier) WndProc(hwnd windows.HWND, msg types.DWORD, wParam, lParam uintptr) uintptr

WndProc realizes the WNDPROC callback function, see https://learn.microsoft.com/en-us/windows/win32/api/winuser/nc-winuser-wndproc. For now, this only supports DBT_DEVICEARRIVAL.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL