win

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: BSD-3-Clause, MIT Imports: 3 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	DpiAwarenessContextUndefined         = 0
	DpiAwarenessContextUnaware           = -1
	DpiAwarenessContextSystemAware       = -2
	DpiAwarenessContextPerMonitorAware   = -3
	DpiAwarenessContextPerMonitorAwareV2 = -4
	DpiAwarenessContextUnawareGdiScaled  = -5
)
View Source
const (
	OBJ_BITMAP = 7
)

Variables

This section is empty.

Functions

func IsValidDpiAwarenessContext

func IsValidDpiAwarenessContext(value int32) (n bool)

func SetThreadDpiAwarenessContext

func SetThreadDpiAwarenessContext(value int32) (n int, err error)

Types

type BITMAPINFO

type BITMAPINFO struct {
	BmiHeader BITMAPINFOHEADER
	BmiColors *RGBQUAD
}

type BITMAPINFOHEADER

type BITMAPINFOHEADER struct {
	BiSize          uint32
	BiWidth         int32
	BiHeight        int32
	BiPlanes        uint16
	BiBitCount      uint16
	BiCompression   uint32
	BiSizeImage     uint32
	BiXPelsPerMeter int32
	BiYPelsPerMeter int32
	BiClrUsed       uint32
	BiClrImportant  uint32
}

type BOOL

type BOOL uint32

type BOOLEAN

type BOOLEAN byte

type BYTE

type BYTE byte

type DWORD

type DWORD uint32

type DWORD64

type DWORD64 uint64

type HANDLE

type HANDLE uintptr

type HLOCAL

type HLOCAL uintptr

type HWND

type HWND uintptr

type LARGE_INTEGER

type LARGE_INTEGER int64

type LONG

type LONG int32

type LPVOID

type LPVOID uintptr

type RGBQUAD

type RGBQUAD struct {
	RgbBlue     byte
	RgbGreen    byte
	RgbRed      byte
	RgbReserved byte
}

type SIZE_T

type SIZE_T uintptr

type UINT

type UINT uint32

type ULONGLONG

type ULONGLONG uint64

type ULONG_PTR

type ULONG_PTR uintptr

type WORD

type WORD uint16

Jump to

Keyboard shortcuts

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