win

package
v0.0.0-...-2dd7349 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	S_OK           = 0x00000000
	S_FALSE        = 0x00000001
	E_UNEXPECTED   = 0x8000FFFF
	E_NOTIMPL      = 0x80004001
	E_OUTOFMEMORY  = 0x8007000E
	E_INVALIDARG   = 0x80070057
	E_NOINTERFACE  = 0x80004002
	E_POINTER      = 0x80004003
	E_HANDLE       = 0x80070006
	E_ABORT        = 0x80004004
	E_FAIL         = 0x80004005
	E_ACCESSDENIED = 0x80070005
	E_PENDING      = 0x8000000A
)
View Source
const (
	FALSE = 0
	TRUE  = 1
)

Variables

This section is empty.

Functions

func FAILED

func FAILED(hr HRESULT) bool

func HIBYTE

func HIBYTE(w uint16) byte

func HIWORD

func HIWORD(dw uint32) uint16

func LOBYTE

func LOBYTE(w uint16) byte

func LOWORD

func LOWORD(dw uint32) uint16

func MAKEINTRESOURCE

func MAKEINTRESOURCE(id uintptr) *uint16

func MAKELONG

func MAKELONG(lo, hi uint16) uint32

func MAKEWORD

func MAKEWORD(lo, hi byte) uint16

func SUCCEEDED

func SUCCEEDED(hr HRESULT) bool

func UTF16PtrToString

func UTF16PtrToString(s *uint16) string

Types

type BOOL

type BOOL int32

func BoolToBOOL

func BoolToBOOL(value bool) BOOL

type HRESULT

type HRESULT int32

type WINEVENTPROC

type WINEVENTPROC func(hWinEventHook kernel32.HWINEVENTHOOK, event uint32, hwnd handle.HWND, idObject int32, idChild int32, idEventThread uint32, dwmsEventTime uint32) uintptr

Jump to

Keyboard shortcuts

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