winapi

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachConsole

func AttachConsole(pid uint32) (ret int32, err error)

func FreeConsole

func FreeConsole() (ret int32, err error)

func GetTopWindow

func GetTopWindow(parent windows.Handle) (wnd windows.Handle, err error)

func IsUserAnAdmin

func IsUserAnAdmin() (ret int32)

func SetConsoleCtrlHandler

func SetConsoleCtrlHandler(handler func(uint32) bool, add bool) (ret int32, err error)

func SetConsoleTextAttribute

func SetConsoleTextAttribute(conOut windows.Handle, attr uint16) (ret int32, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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