windef

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

Variables

View Source
var (

	// FuncGetDeviceCaps https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-getdevicecaps
	FuncGetDeviceCaps, _ = syscall.GetProcAddress(syscall.Handle(libGdi32), "GetDeviceCaps")
	// FuncCreateCompatibleDC https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-createcompatibledc
	FuncCreateCompatibleDC, _ = syscall.GetProcAddress(syscall.Handle(libGdi32), "CreateCompatibleDC")
	// FuncCreateCompatibleBitmap https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-createcompatiblebitmap
	FuncCreateCompatibleBitmap, _ = syscall.GetProcAddress(syscall.Handle(libGdi32), "CreateCompatibleBitmap")
	// FuncDeleteDC https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-deletedc
	FuncDeleteDC, _ = syscall.GetProcAddress(syscall.Handle(libGdi32), "DeleteDC")
	// FuncSelectObject https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-selectobject
	FuncSelectObject, _ = syscall.GetProcAddress(syscall.Handle(libGdi32), "SelectObject")
	// FuncDeleteObject https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-deleteobject
	FuncDeleteObject, _ = syscall.GetProcAddress(syscall.Handle(libGdi32), "DeleteObject")
	// FuncGetDIBits https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-getdibits
	FuncGetDIBits, _ = syscall.GetProcAddress(syscall.Handle(libGdi32), "GetDIBits")
	// FuncGetObject https://learn.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-getobject
	FuncGetObject, _ = syscall.GetProcAddress(syscall.Handle(libGdi32), "GetObjectW")
	// FuncGetBitmapBits https://learn.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-getbitmapbits
	FuncGetBitmapBits, _ = syscall.GetProcAddress(syscall.Handle(libGdi32), "GetBitmapBits")
)

Functions

This section is empty.

Types

type BITMAP

type BITMAP struct {
	BmType       LONG
	BmWidth      LONG
	BmHeight     LONG
	BmWidthBytes LONG
	BmPlanes     WORD
	BmBitsPixel  WORD
	BmPixel      LPVOID
}

type BOOL

type BOOL int32

BOOL bool

type CURSORINFO

type CURSORINFO struct {
	CbSize      DWORD
	Flags       DWORD
	HCursor     HCURSOR
	PTScreenPos POINT
}

CURSORINFO cursor info

type DWORD

type DWORD uint32

DWORD double word

type HANDLE

type HANDLE uintptr

HANDLE handle object

type HBITMAP

type HBITMAP HANDLE

HBITMAP bitmap handle

type HCURSOR

type HCURSOR HANDLE

HCURSOR cursor handle

type ICONINFO

type ICONINFO struct {
	FIcon    BOOL
	XHotspot DWORD
	YHotspot DWORD
	HbmMask  HBITMAP
	HbmColor HBITMAP
}

ICONINFO icon info

type LONG

type LONG int32

LONG long

type LPVOID

type LPVOID uintptr

LPVOID pointer to void

type POINT

type POINT struct {
	X LONG
	Y LONG
}

POINT pointer

type WORD

type WORD uint16

WORD word

Jump to

Keyboard shortcuts

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