win32

package
v4.0.0-beta.18 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScreencapNone                 ScreencapMethod = 0
	ScreencapGDI                  ScreencapMethod = 1
	ScreencapFramePool            ScreencapMethod = 1 << 1
	ScreencapDXGIDesktopDup       ScreencapMethod = 1 << 2
	ScreencapDXGIDesktopDupWindow ScreencapMethod = 1 << 3
	ScreencapPrintWindow          ScreencapMethod = 1 << 4
	ScreencapScreenDC             ScreencapMethod = 1 << 5

	ScreencapAll        ScreencapMethod = ^ScreencapNone
	ScreencapForeground ScreencapMethod = ScreencapDXGIDesktopDupWindow | ScreencapScreenDC
	ScreencapBackground ScreencapMethod = ScreencapFramePool | ScreencapPrintWindow

	InputNone                     InputMethod = 0
	InputSeize                    InputMethod = 1
	InputSendMessage              InputMethod = 1 << 1
	InputPostMessage              InputMethod = 1 << 2
	InputLegacyEvent              InputMethod = 1 << 3
	InputPostThreadMessage        InputMethod = 1 << 4
	InputSendMessageWithCursorPos InputMethod = 1 << 5
	InputPostMessageWithCursorPos InputMethod = 1 << 6
	InputSendMessageWithWindowPos InputMethod = 1 << 7
	InputPostMessageWithWindowPos InputMethod = 1 << 8
	InputInterception             InputMethod = 1 << 9
)

Variables

This section is empty.

Functions

This section is empty.

Types

type InputMethod

type InputMethod uint64

Win32InputMethod

No bitwise OR, just set it.

func ParseInputMethod

func ParseInputMethod(s string) (InputMethod, error)

func (InputMethod) String

func (m InputMethod) String() string

type ScreencapMethod

type ScreencapMethod uint64

Win32ScreencapMethod

No bitwise OR, just set it.

func ParseScreencapMethod

func ParseScreencapMethod(s string) (ScreencapMethod, error)

func (ScreencapMethod) String

func (m ScreencapMethod) String() string

Jump to

Keyboard shortcuts

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