mirror of
https://github.com/reactos/wine.git
synced 2024-12-02 00:36:43 +00:00
169e36b9a0
Entered some basic HAL device capabilities data. Added a GetDriverInfo handler.
33 lines
862 B
C
33 lines
862 B
C
/*
|
|
* DirectDraw HAL base interface
|
|
*
|
|
* Copyright 2001 TransGaming Technologies, Inc.
|
|
*/
|
|
#ifndef __WINE_X11DDRAW_H
|
|
#define __WINE_X11DDRAW_H
|
|
#include "config.h"
|
|
#include "ddrawi.h"
|
|
|
|
extern LPDDRAWI_DDRAWSURFACE_LCL X11DRV_DD_Primary;
|
|
extern LPDDRAWI_DDRAWSURFACE_GBL X11DRV_DD_PrimaryGbl;
|
|
extern HWND X11DRV_DD_PrimaryWnd;
|
|
extern HBITMAP X11DRV_DD_PrimaryDIB;
|
|
extern BOOL X11DRV_DD_IsDirect;
|
|
|
|
void X11DRV_DDHAL_SwitchMode(DWORD dwModeIndex, LPVOID fb_addr, LPVIDMEM fb_mem);
|
|
void X11DRV_DDHAL_SetPalEntries(Colormap pal, DWORD dwBase, DWORD dwNumEntries,
|
|
LPPALETTEENTRY lpEntries);
|
|
|
|
typedef struct _X11DRIVERINFO {
|
|
const GUID * lpGuid;
|
|
DWORD dwSize;
|
|
LPVOID lpvData;
|
|
struct _X11DRIVERINFO*lpNext;
|
|
} X11DRIVERINFO,*LPX11DRIVERINFO;
|
|
|
|
typedef struct _X11DEVICE {
|
|
LPX11DRIVERINFO lpInfo;
|
|
} X11DEVICE,*LPX11DEVICE;
|
|
|
|
#endif /* __WINE_X11DDRAW_H */
|