extracticon

package
v0.0.0-...-566fc8f Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	LOAD_LIBRARY_AS_DATAFILE uint32 = 0x0002

	MAX_PATH = 260

	SHGFI_SYSICONINDEX      = 0x4000
	SHGFI_ICON              = 0x000000100
	SHGFI_LARGEICON         = 0x000000000
	SHGFI_USEFILEATTRIBUTES = 0x10
	SHIL_JUMBO              = 0x4
	SHIL_EXTRALARGE         = 0x2

	FILE_ATTRIBUTE_NORMAL = 0x80

	ILD_TRANSPARENT = 1
)
View Source
const InvalidHandle = ^Handle(0)

Variables

View Source
var (
	RT_ICON       uintptr = 3
	RT_GROUP_ICON         = RT_ICON + 11
)

Functions

This section is empty.

Types

type Extract

type Extract struct {
	// contains filtered or unexported fields
}

func New

func New() *Extract

func (*Extract) From

func (e *Extract) From(path string) (image.Image, error)

func (*Extract) FromExt

func (e *Extract) FromExt(ext string) (image.Image, error)

type GUID

type GUID struct {
	Data1 uint32
	Data2 uint16
	Data3 uint16
	Data4 [8]byte
}

type Handle

type Handle uintptr

Handle to a the OS specific event log.

type SHFILEINFO

type SHFILEINFO struct {
	HIcon         Handle
	IIcon         int32
	DwAttributes  uint32
	SzDisplayName [MAX_PATH]uint16
	SzTypeName    [80]uint16
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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