Added USER32.UserSignalProc to Callout table.
[wine] / include / desktop.h
1 /*
2  * Desktop window definitions.
3  *
4  * Copyright 1994 Alexandre Julliard
5  */
6
7 #ifndef __WINE_DESKTOP_H
8 #define __WINE_DESKTOP_H
9
10 #include "windef.h"
11
12 struct tagDESKTOP_DRIVER;
13 struct tagMONITOR;
14
15 typedef struct tagDESKTOP
16 {
17   HBRUSH                hbrushPattern;
18   HBITMAP               hbitmapWallPaper;
19   SIZE                  bitmapSize;
20   BOOL                  fTileWallPaper;
21   struct tagMONITOR      *pPrimaryMonitor;
22   struct tagDESKTOP_DRIVER *pDriver;         /* Desktop driver */
23   void                   *pDriverData;     /* Desktop driver data */
24 } DESKTOP;
25
26 typedef struct tagDESKTOP_DRIVER {
27   void (*pInitialize)(struct tagDESKTOP *pDesktop);
28   void (*pFinalize)(struct tagDESKTOP *pDesktop);
29 } DESKTOP_DRIVER;
30
31 extern DESKTOP_DRIVER *DESKTOP_Driver;
32
33 extern BOOL DESKTOP_IsSingleWindow();
34 extern int DESKTOP_GetScreenWidth(void);
35 extern int DESKTOP_GetScreenHeight(void);
36 extern int DESKTOP_GetScreenDepth(void);
37
38 extern BOOL DESKTOP_SetPattern( LPCSTR pattern );
39 extern LRESULT WINAPI DesktopWndProc( HWND hwnd, UINT message,
40                                       WPARAM wParam, LPARAM lParam );
41
42 #endif  /* __WINE_DESKTOP_H */