mirror of
https://github.com/reactos/wine.git
synced 2024-12-01 15:40:43 +00:00
43 lines
1.1 KiB
C
43 lines
1.1 KiB
C
/*
|
|
* Desktop window definitions.
|
|
*
|
|
* Copyright 1994 Alexandre Julliard
|
|
*/
|
|
|
|
#ifndef __WINE_DESKTOP_H
|
|
#define __WINE_DESKTOP_H
|
|
|
|
#include "windef.h"
|
|
|
|
struct tagDESKTOP_DRIVER;
|
|
struct tagMONITOR;
|
|
|
|
typedef struct tagDESKTOP
|
|
{
|
|
HBRUSH hbrushPattern;
|
|
HBITMAP hbitmapWallPaper;
|
|
SIZE bitmapSize;
|
|
BOOL fTileWallPaper;
|
|
struct tagMONITOR *pPrimaryMonitor;
|
|
struct tagDESKTOP_DRIVER *pDriver; /* Desktop driver */
|
|
void *pDriverData; /* Desktop driver data */
|
|
} DESKTOP;
|
|
|
|
typedef struct tagDESKTOP_DRIVER {
|
|
void (*pInitialize)(struct tagDESKTOP *pDesktop);
|
|
void (*pFinalize)(struct tagDESKTOP *pDesktop);
|
|
} DESKTOP_DRIVER;
|
|
|
|
extern DESKTOP_DRIVER *DESKTOP_Driver;
|
|
|
|
extern BOOL DESKTOP_IsSingleWindow();
|
|
extern int DESKTOP_GetScreenWidth(void);
|
|
extern int DESKTOP_GetScreenHeight(void);
|
|
extern int DESKTOP_GetScreenDepth(void);
|
|
|
|
extern BOOL DESKTOP_SetPattern( LPCSTR pattern );
|
|
extern LRESULT WINAPI DesktopWndProc( HWND hwnd, UINT message,
|
|
WPARAM wParam, LPARAM lParam );
|
|
|
|
#endif /* __WINE_DESKTOP_H */
|