system

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WmCopyData      = 0x004a
	AgentCopyDataId = 0x804e50ba
)

Variables

This section is empty.

Functions

func CreateHiddenMessageWindow

func CreateHiddenMessageWindow(className, windowName string, wndProc WndProc) error

func OpenFileMapping

func OpenFileMapping(desiredAccess uint32, inheritHandle uintptr, name string) (windows.Handle, error)

Types

type AgentRequestHandler

type AgentRequestHandler func(data []byte) error

type COPYDATASTRUCT

type COPYDATASTRUCT struct {
	DwData uintptr
	CbData uint32
	LpData uintptr
}

type MSG

type MSG struct {
	Hwnd    syscall.Handle
	Message uint32
	WParam  uintptr
	LParam  uintptr
	Time    uint32
	Pt      POINT
}

type POINT

type POINT struct {
	X, Y int32
}

type WNDCLASSEX

type WNDCLASSEX struct {
	CbSize        uint32
	Style         uint32
	LpfnWndProc   uintptr
	CbClsExtra    int32
	CbWndExtra    int32
	HInstance     windows.Handle
	HIcon         windows.Handle
	HCursor       windows.Handle
	HbrBackground windows.Handle
	LpszMenuName  *uint16
	LpszClassName *uint16
	HIconSm       windows.Handle
}

type WndProc

type WndProc func(hwnd syscall.Handle, msg uint32, wParam, lParam uintptr) uintptr

func NewAgentWndProc

func NewAgentWndProc(handler AgentRequestHandler) WndProc

Jump to

Keyboard shortcuts

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