Documentation
¶
Index ¶
- Constants
- func ActivateAudioInterfaceAsync(deviceInterfacePath *uint16, riid REFIID, activationParams wca.PROPVARIANT, ...) win.HRESULT
- func ClipCursor(rect *win.RECT) (ok int, err error)
- func CreateDIBSection(hdc win.HDC, pbmi *win.BITMAPINFO, usage uint, ppvBits uintptr, ...) win.HBITMAP
- func CreatePen(iStyle int, cWidth int, color uint32) win.HPEN
- func CreateRectRgnIndirect(rect win.RECT) win.HRGN
- func CreateSolidBrush(color uint32) win.HGDIOBJ
- func EnumChildWindows(hwnd win.HWND) []win.HWND
- func EnumDesktopWindows(hDesktop win.HANDLE, lpEnumFunc uintptr, lParam uintptr) (ok bool)
- func ExtFloodFill(hdc win.HDC, x int, y int, color uint32, opType uint32) bool
- func FillRect(hdc win.HDC, rect win.RECT, hbr win.HBRUSH) (ok bool)
- func FindChildWindowsFromWindowText(parentHWND win.HWND, lpszClass *uint16, lpszWindow *uint16, windowText string) win.HWND
- func FindWindow(lpClassName, lpWindowName *uint16) win.HWND
- func FindWindowEx(hwndParent win.HWND, hwndChildAfter win.HWND, lpszClass *uint16, ...) (hwnd win.HWND)
- func GetClassName(hwnd win.HWND, lpClassName uintptr, nMax int) (length int)
- func GetCursorPos(lpPoint *win.POINT) bool
- func GetWindowRect(hwnd win.HWND, rect *win.RECT) bool
- func GetWindowText(hwnd win.HWND, lpString uintptr, nMax int) (length int)
- func GetWindowTextString(hwnd win.HWND) string
- func InvalidateRect(hwnd win.HWND, rect win.RECT, bErase bool) (ok bool)
- func MapVirtualKey(uCode uint32, uMapType uint32) (code uint32)
- func MustUTF16FromString(str string) []uint16
- func MustUTF16PtrFromString(str string) *uint16
- func PolyDraw(hdc win.HDC, apt win.POINT, aj byte, cpt int) bool
- func SendMessage(hwnd win.HWND, msg uint32, wParam uintptr, lParam uintptr) uintptr
- func SetForegroundWindow(hWnd win.HWND) bool
- func SetLayeredWindowAttributes(hwnd win.HWND, color uint32, bAlpha byte, dwFlags uint32) (ok bool)
- func SetWindowRgn(hwnd win.HWND, hRgn win.HRGN, bRedraw bool) (ok bool)
- func SetWindowText(hwnd win.HWND, lpString *uint16) (ok bool)
- func ShowCursor(state bool) (counter int)
- func ShowWindow(hWnd win.HWND, nCmdShow int32) bool
- func UpdateLayeredWindow(hwnd win.HWND, hdcDst win.HDC, pptDst win.POINT, psize uintptr, hdcSrc win.HDC, ...) (ok bool)
- func UpdateWindow(hwnd win.HWND) bool
- type IActivateAudioInterfaceAsyncOperation
- type IActivateAudioInterfaceCompletionHandlerInterface
- type IID
- type REFIID
Constants ¶
View Source
const ( FLOODFILLBORDER uint32 = iota FLOODFILLSURFACE )
View Source
const ( LWA_COLORKEY uint32 = 1 + iota LWA_ALPHA )
View Source
const ( MAPVK_VK_TO_VSC uint32 = iota MAPVK_VSC_TO_VK MAPVK_VK_TO_CHAR MAPVK_VSC_TO_VK_EX MAPVK_VK_TO_VSC_EX )
View Source
const NULL uintptr = 0
Variables ¶
This section is empty.
Functions ¶
func ActivateAudioInterfaceAsync ¶
func ActivateAudioInterfaceAsync(deviceInterfacePath *uint16, riid REFIID, activationParams wca.PROPVARIANT, completionHandler IActivateAudioInterfaceCompletionHandlerInterface, activationOperation IActivateAudioInterfaceAsyncOperation) win.HRESULT
func CreateDIBSection ¶
func CreateSolidBrush ¶
func EnumDesktopWindows ¶
func FindWindow ¶
func FindWindowEx ¶
func GetCursorPos ¶
func GetWindowTextString ¶
func MapVirtualKey ¶
func MustUTF16FromString ¶
func MustUTF16PtrFromString ¶
func SendMessage ¶
func SetForegroundWindow ¶
func ShowCursor ¶
func UpdateLayeredWindow ¶
func UpdateWindow ¶
Types ¶
type IActivateAudioInterfaceCompletionHandlerInterface ¶
type IActivateAudioInterfaceCompletionHandlerInterface interface {
ole.UnknownLike
ActivateCompleted(activateOperation IActivateAudioInterfaceAsyncOperation)
}
Click to show internal directories.
Click to hide internal directories.