Added prototypes for OleQueryLinkFromClip, OleQueryCreateFromClip,
[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 "wintypes.h"
11
12 struct tagMONITOR;
13
14 struct _DESKTOP_DRIVER;
15
16 typedef struct tagDESKTOP
17 {
18   HBRUSH                hbrushPattern;
19   HBITMAP               hbitmapWallPaper;
20   SIZE                  bitmapSize;
21   BOOL                  fTileWallPaper;
22   struct tagMONITOR      *pPrimaryMonitor;
23   struct _DESKTOP_DRIVER *pDriver;         /* Desktop driver */
24   void                   *pDriverData;     /* Desktop driver data */
25 } DESKTOP;
26
27 typedef struct _DESKTOP_DRIVER {
28   void (*pInitialize)(struct tagDESKTOP *pDesktop);
29   void (*pFinalize)(struct tagDESKTOP *pDesktop);
30 } DESKTOP_DRIVER;
31
32 extern int DESKTOP_GetScreenWidth(void);
33 extern int DESKTOP_GetScreenHeight(void);
34 extern int DESKTOP_GetScreenDepth(void);
35
36 extern BOOL DESKTOP_SetPattern( LPCSTR pattern );
37 extern LRESULT WINAPI DesktopWndProc( HWND hwnd, UINT message,
38                                       WPARAM wParam, LPARAM lParam );
39
40 #endif  /* __WINE_DESKTOP_H */