[CMAKE]
[reactos.git] / subsystems / win32 / win32k / include / desktop.h
index 82607df..fbf2f54 100644 (file)
@@ -9,6 +9,7 @@ typedef struct _DESKTOP
     LIST_ENTRY ListEntry;
     /* Pointer to the associated window station. */
     struct _WINSTATION_OBJECT *rpwinstaParent;
+    DWORD dwDTFlags;
     PWND spwndForeground;
     PWND spwndTray;
     PWND spwndMessage;
@@ -27,12 +28,20 @@ typedef struct _DESKTOP
     /* Pointer to the active queue. */
     PVOID ActiveMessageQueue;
     /* Handle of the desktop window. */
-    HANDLE DesktopWindow;
+    HWND DesktopWindow;
     /* Thread blocking input */
     PVOID BlockInputThread;
     LIST_ENTRY ShellHookWindows;
 } DESKTOP, *PDESKTOP;
 
+// Desktop flags
+#define DF_TME_HOVER        0x00000400
+#define DF_TME_LEAVE        0x00000800
+#define DF_DESTROYED        0x00008000
+#define DF_DESKWNDDESTROYED 0x00010000
+#define DF_DYING            0x00020000
+
+
 extern PDESKTOP InputDesktop;
 extern HDESK InputDesktopHandle;
 extern PCLS DesktopWindowClass;
@@ -125,6 +134,7 @@ BOOL IntRegisterShellHookWindow(HWND hWnd);
 BOOL IntDeRegisterShellHookWindow(HWND hWnd);
 VOID co_IntShellHookNotify(WPARAM Message, LPARAM lParam);
 HDC FASTCALL UserGetDesktopDC(ULONG,BOOL,BOOL);
+BOOL FASTCALL IntPaintDesktop(HDC hDC);
 
 #define IntIsActiveDesktop(Desktop) \
   ((Desktop)->rpwinstaParent->ActiveDesktop == (Desktop))