winext

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

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package winext is like github.com/lxn/win, but has some additional functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GUIDToString

func GUIDToString[T GUID](guid T) string

func MustGUID

func MustGUID[T GUID](s string) T

func SysAllocStringByteLen

func SysAllocStringByteLen(b []byte) *uint16

func SysAllocStringByteLenGUID

func SysAllocStringByteLenGUID[T GUID](g T) *uint16

func SysAllocStringByteLenStr

func SysAllocStringByteLenStr(b string) *uint16

Types

type GUID

type GUID interface {
	syscall.GUID | windows.GUID | win.CLSID | win.IID
}

type HRESULT

type HRESULT = uint32 // note: actually an int32, but the constants in the win pkg are untyped and overflow its HRESULT...

type PROPID

type PROPID = uint32

type PROPVARIANT

type PROPVARIANT = win.VARIANT // TODO: is this the same as PROPVARIANT internally?

Jump to

Keyboard shortcuts

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