]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/windows/shell32/shell32.factor
windows: Add some code to put something in the tray.
[factor.git] / basis / windows / shell32 / shell32.factor
index 1dbd9254638596071f6b0339df8292e4e4522d89..89dd6a89caa251d1d0e7b5f68ba4bbe9ebdf145d 100644 (file)
@@ -369,6 +369,7 @@ CONSTANT: NIN_BALLOONHIDE $[ WM_USER 3 + ]
 CONSTANT: NIN_BALLOONTIMEOUT $[ WM_USER 4 + ]
 CONSTANT: NIN_BALLOONUSERCLICK $[ WM_USER 5 + ]
 
+UNION-STRUCT: timeout-version-union { uTimeout UINT } { uVersion UINT } ;
 STRUCT: NOTIFYICONDATA
     { cbSize DWORD }
     { hWnd HWND }
@@ -380,7 +381,7 @@ STRUCT: NOTIFYICONDATA
     { dwState DWORD }
     { dwStateMask DWORD }
     { szInfo TCHAR[256] }
-    { uTimeout UINT } ! { uVersion UINT } ! c-union here1
+    { timeout-version timeout-version-union } ! { uVersion UINT } ! c-union here1
     { szInfoTitle TCHAR[64] }
     { dwInfoFlags DWORD }
     { guidItem GUID }