2 * Desktop window definitions.
4 * Copyright 1994 Alexandre Julliard
7 #ifndef __WINE_DESKTOP_H
8 #define __WINE_DESKTOP_H
14 struct _DESKTOP_DRIVER;
16 typedef struct tagDESKTOP
19 HBITMAP hbitmapWallPaper;
22 struct tagMONITOR *pPrimaryMonitor;
23 struct _DESKTOP_DRIVER *pDriver; /* Desktop driver */
24 void *pDriverData; /* Desktop driver data */
27 typedef struct _DESKTOP_DRIVER {
28 void (*pInitialize)(struct tagDESKTOP *pDesktop);
29 void (*pFinalize)(struct tagDESKTOP *pDesktop);
32 extern int DESKTOP_GetScreenWidth(void);
33 extern int DESKTOP_GetScreenHeight(void);
34 extern int DESKTOP_GetScreenDepth(void);
36 extern BOOL DESKTOP_SetPattern( LPCSTR pattern );
37 extern LRESULT WINAPI DesktopWndProc( HWND hwnd, UINT message,
38 WPARAM wParam, LPARAM lParam );
40 #endif /* __WINE_DESKTOP_H */