2 * Desktop window definitions.
4 * Copyright 1994 Alexandre Julliard
7 #ifndef __WINE_DESKTOP_H
8 #define __WINE_DESKTOP_H
12 struct tagDESKTOP_DRIVER;
15 typedef struct tagDESKTOP
18 HBITMAP hbitmapWallPaper;
21 struct tagMONITOR *pPrimaryMonitor;
22 struct tagDESKTOP_DRIVER *pDriver; /* Desktop driver */
23 void *pDriverData; /* Desktop driver data */
26 typedef struct tagDESKTOP_DRIVER {
27 void (*pInitialize)(struct tagDESKTOP *pDesktop);
28 void (*pFinalize)(struct tagDESKTOP *pDesktop);
31 extern DESKTOP_DRIVER *DESKTOP_Driver;
33 extern BOOL DESKTOP_IsSingleWindow();
34 extern int DESKTOP_GetScreenWidth(void);
35 extern int DESKTOP_GetScreenHeight(void);
36 extern int DESKTOP_GetScreenDepth(void);
38 extern BOOL DESKTOP_SetPattern( LPCSTR pattern );
39 extern LRESULT WINAPI DesktopWndProc( HWND hwnd, UINT message,
40 WPARAM wParam, LPARAM lParam );
42 #endif /* __WINE_DESKTOP_H */