summaryrefslogtreecommitdiff
path: root/windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'windows.go')
-rw-r--r--windows.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/windows.go b/windows.go
index de6fd6f..0e4f7cc 100644
--- a/windows.go
+++ b/windows.go
@@ -306,3 +306,15 @@ const (
WM_WINDOWPOSCHANGED = 0x0047
WM_WINDOWPOSCHANGING = 0x0046
)
+
+type MINMAXINFO struct {
+ PtReserved POINT
+ PtMaxSize POINT
+ PtMaxPosition POINT
+ PtMinTrackSize POINT
+ PtMaxTrackSize POINT
+}
+
+func (l LPARAM) MINMAXINFO() *MINMAXINFO {
+ return (*MINMAXINFO)(unsafe.Pointer(l))
+}