Release 20000227.
[wine/multimedia.git] / include / desktop.h
blob9a81694abcba9002a5252fbab86147352454d96b
1 /*
2 * Desktop window definitions.
4 * Copyright 1994 Alexandre Julliard
5 */
7 #ifndef __WINE_DESKTOP_H
8 #define __WINE_DESKTOP_H
10 #include "windef.h"
12 struct tagDESKTOP_DRIVER;
13 struct tagMONITOR;
15 typedef struct tagDESKTOP
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;
26 typedef struct tagDESKTOP_DRIVER {
27 void (*pInitialize)(struct tagDESKTOP *pDesktop);
28 void (*pFinalize)(struct tagDESKTOP *pDesktop);
29 } DESKTOP_DRIVER;
31 extern DESKTOP_DRIVER *DESKTOP_Driver;
33 extern BOOL DESKTOP_IsSingleWindow(void);
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 */