github.com/secoba/wails/v2@v2.6.4/internal/platform/win32/structs.go (about) 1 //go:build windows 2 3 package win32 4 5 import "golang.org/x/sys/windows" 6 7 type NOTIFYICONDATA struct { 8 CbSize uint32 9 HWnd HWND 10 UID uint32 11 UFlags uint32 12 UCallbackMessage uint32 13 HIcon HICON 14 SzTip [128]uint16 15 DwState uint32 16 DwStateMask uint32 17 SzInfo [256]uint16 18 UVersion uint32 19 SzInfoTitle [64]uint16 20 DwInfoFlags uint32 21 GuidItem windows.GUID 22 HBalloonIcon HICON 23 } 24 25 type WNDCLASSEX struct { 26 CbSize uint32 27 Style uint32 28 LpfnWndProc uintptr 29 CbClsExtra int32 30 CbWndExtra int32 31 HInstance HINSTANCE 32 HIcon HICON 33 HCursor HCURSOR 34 HbrBackground HBRUSH 35 LpszMenuName *uint16 36 LpszClassName *uint16 37 HIconSm HICON 38 } 39 40 type MSG struct { 41 HWnd HWND 42 Message uint32 43 WParam uintptr 44 LParam uintptr 45 Time uint32 46 Pt POINT 47 } 48 49 type POINT struct { 50 X, Y int32 51 }