How can I save the HICON as file in Go

Issue I can get the HICON with ExtractIconW for example: package main import ( "log" "syscall" "unsafe" ) func MakeIntResource(id uintptr) *uint16 { return (*uint16)(unsafe.Pointer(id)) } const IDI_QUESTION = 32514 func main() { user32Dll := syscall.NewLazyDLL("User32.dll") procLoadIconW := user32Dll.NewProc("LoadIconW") hIcon,

Continue reading