2011-07-07 12:43:51 +02:00
|
|
|
/*
|
|
|
|
* Definitions for Wine GDI drivers
|
|
|
|
*
|
|
|
|
* Copyright 2011 Alexandre Julliard
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_WINE_GDI_DRIVER_H
|
|
|
|
#define __WINE_WINE_GDI_DRIVER_H
|
|
|
|
|
2012-09-06 12:23:10 +02:00
|
|
|
#include "wine/list.h"
|
|
|
|
|
2011-07-07 12:43:51 +02:00
|
|
|
struct gdi_dc_funcs;
|
2012-07-18 23:58:41 +02:00
|
|
|
struct opengl_funcs;
|
2011-07-07 12:43:51 +02:00
|
|
|
|
|
|
|
typedef struct gdi_physdev
|
|
|
|
{
|
|
|
|
const struct gdi_dc_funcs *funcs;
|
|
|
|
struct gdi_physdev *next;
|
|
|
|
HDC hdc;
|
|
|
|
} *PHYSDEV;
|
|
|
|
|
2011-07-11 13:44:26 +02:00
|
|
|
struct bitblt_coords
|
|
|
|
{
|
|
|
|
int log_x; /* original position and size, in logical coords */
|
|
|
|
int log_y;
|
|
|
|
int log_width;
|
|
|
|
int log_height;
|
|
|
|
int x; /* mapped position and size, in device coords */
|
|
|
|
int y;
|
|
|
|
int width;
|
|
|
|
int height;
|
|
|
|
RECT visrect; /* rectangle clipped to the visible part, in device coords */
|
|
|
|
DWORD layout; /* DC layout */
|
|
|
|
};
|
|
|
|
|
2011-07-14 11:30:58 +02:00
|
|
|
struct gdi_image_bits
|
|
|
|
{
|
2011-07-21 12:03:30 +02:00
|
|
|
void *ptr; /* pointer to the bits */
|
|
|
|
BOOL is_copy; /* whether this is a copy of the bits that can be modified */
|
|
|
|
void (*free)(struct gdi_image_bits *); /* callback for freeing the bits */
|
|
|
|
void *param; /* extra parameter for callback private use */
|
2011-07-14 11:30:58 +02:00
|
|
|
};
|
|
|
|
|
2011-12-29 19:49:41 +01:00
|
|
|
struct brush_pattern
|
|
|
|
{
|
|
|
|
BITMAPINFO *info; /* DIB info */
|
|
|
|
struct gdi_image_bits bits; /* DIB bits */
|
|
|
|
UINT usage; /* color usage for DIB info */
|
|
|
|
};
|
|
|
|
|
2011-07-13 12:28:16 +02:00
|
|
|
struct gdi_dc_funcs
|
|
|
|
{
|
2011-07-13 14:56:12 +02:00
|
|
|
INT (*pAbortDoc)(PHYSDEV);
|
|
|
|
BOOL (*pAbortPath)(PHYSDEV);
|
|
|
|
BOOL (*pAlphaBlend)(PHYSDEV,struct bitblt_coords*,PHYSDEV,struct bitblt_coords*,BLENDFUNCTION);
|
|
|
|
BOOL (*pAngleArc)(PHYSDEV,INT,INT,DWORD,FLOAT,FLOAT);
|
|
|
|
BOOL (*pArc)(PHYSDEV,INT,INT,INT,INT,INT,INT,INT,INT);
|
|
|
|
BOOL (*pArcTo)(PHYSDEV,INT,INT,INT,INT,INT,INT,INT,INT);
|
|
|
|
BOOL (*pBeginPath)(PHYSDEV);
|
2011-09-14 11:57:45 +02:00
|
|
|
DWORD (*pBlendImage)(PHYSDEV,BITMAPINFO*,const struct gdi_image_bits*,struct bitblt_coords*,struct bitblt_coords*,BLENDFUNCTION);
|
2011-07-13 14:56:12 +02:00
|
|
|
BOOL (*pChord)(PHYSDEV,INT,INT,INT,INT,INT,INT,INT,INT);
|
|
|
|
BOOL (*pCloseFigure)(PHYSDEV);
|
2011-09-07 15:36:58 +02:00
|
|
|
BOOL (*pCreateCompatibleDC)(PHYSDEV,PHYSDEV*);
|
2011-09-07 17:01:29 +02:00
|
|
|
BOOL (*pCreateDC)(PHYSDEV*,LPCWSTR,LPCWSTR,LPCWSTR,const DEVMODEW*);
|
2011-07-13 14:56:12 +02:00
|
|
|
BOOL (*pDeleteDC)(PHYSDEV);
|
|
|
|
BOOL (*pDeleteObject)(PHYSDEV,HGDIOBJ);
|
|
|
|
DWORD (*pDeviceCapabilities)(LPSTR,LPCSTR,LPCSTR,WORD,LPSTR,LPDEVMODEA);
|
|
|
|
BOOL (*pEllipse)(PHYSDEV,INT,INT,INT,INT);
|
|
|
|
INT (*pEndDoc)(PHYSDEV);
|
|
|
|
INT (*pEndPage)(PHYSDEV);
|
|
|
|
BOOL (*pEndPath)(PHYSDEV);
|
2011-10-19 15:37:10 +02:00
|
|
|
BOOL (*pEnumFonts)(PHYSDEV,LPLOGFONTW,FONTENUMPROCW,LPARAM);
|
2011-07-13 14:56:12 +02:00
|
|
|
INT (*pEnumICMProfiles)(PHYSDEV,ICMENUMPROCW,LPARAM);
|
|
|
|
INT (*pExcludeClipRect)(PHYSDEV,INT,INT,INT,INT);
|
|
|
|
INT (*pExtDeviceMode)(LPSTR,HWND,LPDEVMODEA,LPSTR,LPSTR,LPDEVMODEA,LPSTR,DWORD);
|
|
|
|
INT (*pExtEscape)(PHYSDEV,INT,INT,LPCVOID,INT,LPVOID);
|
|
|
|
BOOL (*pExtFloodFill)(PHYSDEV,INT,INT,COLORREF,UINT);
|
|
|
|
INT (*pExtSelectClipRgn)(PHYSDEV,HRGN,INT);
|
|
|
|
BOOL (*pExtTextOut)(PHYSDEV,INT,INT,UINT,const RECT*,LPCWSTR,UINT,const INT*);
|
|
|
|
BOOL (*pFillPath)(PHYSDEV);
|
|
|
|
BOOL (*pFillRgn)(PHYSDEV,HRGN,HBRUSH);
|
|
|
|
BOOL (*pFlattenPath)(PHYSDEV);
|
2011-10-19 21:51:39 +02:00
|
|
|
BOOL (*pFontIsLinked)(PHYSDEV);
|
2011-07-13 14:56:12 +02:00
|
|
|
BOOL (*pFrameRgn)(PHYSDEV,HRGN,HBRUSH,INT,INT);
|
2013-09-27 00:30:19 +02:00
|
|
|
BOOL (*pGdiComment)(PHYSDEV,UINT,const BYTE*);
|
2011-10-19 21:51:39 +02:00
|
|
|
BOOL (*pGdiRealizationInfo)(PHYSDEV,void*);
|
2012-04-10 16:17:14 +02:00
|
|
|
UINT (*pGetBoundsRect)(PHYSDEV,RECT*,UINT);
|
2011-10-19 21:51:39 +02:00
|
|
|
BOOL (*pGetCharABCWidths)(PHYSDEV,UINT,UINT,LPABC);
|
|
|
|
BOOL (*pGetCharABCWidthsI)(PHYSDEV,UINT,UINT,WORD*,LPABC);
|
2011-07-13 14:56:12 +02:00
|
|
|
BOOL (*pGetCharWidth)(PHYSDEV,UINT,UINT,LPINT);
|
|
|
|
INT (*pGetDeviceCaps)(PHYSDEV,INT);
|
|
|
|
BOOL (*pGetDeviceGammaRamp)(PHYSDEV,LPVOID);
|
2011-10-19 21:51:39 +02:00
|
|
|
DWORD (*pGetFontData)(PHYSDEV,DWORD,DWORD,LPVOID,DWORD);
|
|
|
|
DWORD (*pGetFontUnicodeRanges)(PHYSDEV,LPGLYPHSET);
|
|
|
|
DWORD (*pGetGlyphIndices)(PHYSDEV,LPCWSTR,INT,LPWORD,DWORD);
|
|
|
|
DWORD (*pGetGlyphOutline)(PHYSDEV,UINT,UINT,LPGLYPHMETRICS,DWORD,LPVOID,const MAT2*);
|
2011-07-13 14:56:12 +02:00
|
|
|
BOOL (*pGetICMProfile)(PHYSDEV,LPDWORD,LPWSTR);
|
2012-05-23 23:36:20 +02:00
|
|
|
DWORD (*pGetImage)(PHYSDEV,BITMAPINFO*,struct gdi_image_bits*,struct bitblt_coords*);
|
2011-10-19 21:51:39 +02:00
|
|
|
DWORD (*pGetKerningPairs)(PHYSDEV,DWORD,LPKERNINGPAIR);
|
2011-07-13 14:56:12 +02:00
|
|
|
COLORREF (*pGetNearestColor)(PHYSDEV,COLORREF);
|
2011-10-19 21:51:39 +02:00
|
|
|
UINT (*pGetOutlineTextMetrics)(PHYSDEV,UINT,LPOUTLINETEXTMETRICW);
|
2011-07-13 14:56:12 +02:00
|
|
|
COLORREF (*pGetPixel)(PHYSDEV,INT,INT);
|
|
|
|
UINT (*pGetSystemPaletteEntries)(PHYSDEV,UINT,UINT,LPPALETTEENTRY);
|
2011-10-19 21:51:39 +02:00
|
|
|
UINT (*pGetTextCharsetInfo)(PHYSDEV,LPFONTSIGNATURE,DWORD);
|
2012-12-18 17:52:37 +01:00
|
|
|
BOOL (*pGetTextExtentExPoint)(PHYSDEV,LPCWSTR,INT,LPINT);
|
|
|
|
BOOL (*pGetTextExtentExPointI)(PHYSDEV,const WORD*,INT,LPINT);
|
2011-10-19 21:51:39 +02:00
|
|
|
INT (*pGetTextFace)(PHYSDEV,INT,LPWSTR);
|
2011-07-13 14:56:12 +02:00
|
|
|
BOOL (*pGetTextMetrics)(PHYSDEV,TEXTMETRICW*);
|
2011-10-31 23:51:38 +01:00
|
|
|
BOOL (*pGradientFill)(PHYSDEV,TRIVERTEX*,ULONG,void*,ULONG,ULONG);
|
2011-07-13 14:56:12 +02:00
|
|
|
INT (*pIntersectClipRect)(PHYSDEV,INT,INT,INT,INT);
|
|
|
|
BOOL (*pInvertRgn)(PHYSDEV,HRGN);
|
|
|
|
BOOL (*pLineTo)(PHYSDEV,INT,INT);
|
|
|
|
BOOL (*pModifyWorldTransform)(PHYSDEV,const XFORM*,DWORD);
|
|
|
|
BOOL (*pMoveTo)(PHYSDEV,INT,INT);
|
|
|
|
INT (*pOffsetClipRgn)(PHYSDEV,INT,INT);
|
|
|
|
BOOL (*pOffsetViewportOrgEx)(PHYSDEV,INT,INT,POINT*);
|
|
|
|
BOOL (*pOffsetWindowOrgEx)(PHYSDEV,INT,INT,POINT*);
|
|
|
|
BOOL (*pPaintRgn)(PHYSDEV,HRGN);
|
|
|
|
BOOL (*pPatBlt)(PHYSDEV,struct bitblt_coords*,DWORD);
|
|
|
|
BOOL (*pPie)(PHYSDEV,INT,INT,INT,INT,INT,INT,INT,INT);
|
|
|
|
BOOL (*pPolyBezier)(PHYSDEV,const POINT*,DWORD);
|
|
|
|
BOOL (*pPolyBezierTo)(PHYSDEV,const POINT*,DWORD);
|
|
|
|
BOOL (*pPolyDraw)(PHYSDEV,const POINT*,const BYTE *,DWORD);
|
|
|
|
BOOL (*pPolyPolygon)(PHYSDEV,const POINT*,const INT*,UINT);
|
|
|
|
BOOL (*pPolyPolyline)(PHYSDEV,const POINT*,const DWORD*,DWORD);
|
|
|
|
BOOL (*pPolygon)(PHYSDEV,const POINT*,INT);
|
|
|
|
BOOL (*pPolyline)(PHYSDEV,const POINT*,INT);
|
|
|
|
BOOL (*pPolylineTo)(PHYSDEV,const POINT*,INT);
|
2012-05-23 23:36:20 +02:00
|
|
|
DWORD (*pPutImage)(PHYSDEV,HRGN,BITMAPINFO*,const struct gdi_image_bits*,struct bitblt_coords*,struct bitblt_coords*,DWORD);
|
2011-07-13 14:56:12 +02:00
|
|
|
UINT (*pRealizeDefaultPalette)(PHYSDEV);
|
|
|
|
UINT (*pRealizePalette)(PHYSDEV,HPALETTE,BOOL);
|
|
|
|
BOOL (*pRectangle)(PHYSDEV,INT,INT,INT,INT);
|
|
|
|
HDC (*pResetDC)(PHYSDEV,const DEVMODEW*);
|
|
|
|
BOOL (*pRestoreDC)(PHYSDEV,INT);
|
|
|
|
BOOL (*pRoundRect)(PHYSDEV,INT,INT,INT,INT,INT,INT);
|
|
|
|
INT (*pSaveDC)(PHYSDEV);
|
|
|
|
BOOL (*pScaleViewportExtEx)(PHYSDEV,INT,INT,INT,INT,SIZE*);
|
|
|
|
BOOL (*pScaleWindowExtEx)(PHYSDEV,INT,INT,INT,INT,SIZE*);
|
|
|
|
HBITMAP (*pSelectBitmap)(PHYSDEV,HBITMAP);
|
2011-12-29 19:49:41 +01:00
|
|
|
HBRUSH (*pSelectBrush)(PHYSDEV,HBRUSH,const struct brush_pattern*);
|
2011-07-13 14:56:12 +02:00
|
|
|
BOOL (*pSelectClipPath)(PHYSDEV,INT);
|
2012-10-30 19:37:31 +01:00
|
|
|
HFONT (*pSelectFont)(PHYSDEV,HFONT,UINT*);
|
2011-07-13 14:56:12 +02:00
|
|
|
HPALETTE (*pSelectPalette)(PHYSDEV,HPALETTE,BOOL);
|
2011-12-29 20:16:46 +01:00
|
|
|
HPEN (*pSelectPen)(PHYSDEV,HPEN,const struct brush_pattern*);
|
2011-07-13 14:56:12 +02:00
|
|
|
INT (*pSetArcDirection)(PHYSDEV,INT);
|
|
|
|
COLORREF (*pSetBkColor)(PHYSDEV,COLORREF);
|
|
|
|
INT (*pSetBkMode)(PHYSDEV,INT);
|
2012-04-25 12:26:44 +02:00
|
|
|
UINT (*pSetBoundsRect)(PHYSDEV,RECT*,UINT);
|
2011-07-13 14:56:12 +02:00
|
|
|
COLORREF (*pSetDCBrushColor)(PHYSDEV, COLORREF);
|
|
|
|
COLORREF (*pSetDCPenColor)(PHYSDEV, COLORREF);
|
2011-09-02 15:53:10 +02:00
|
|
|
INT (*pSetDIBitsToDevice)(PHYSDEV,INT,INT,DWORD,DWORD,INT,INT,UINT,UINT,LPCVOID,BITMAPINFO*,UINT);
|
2011-12-06 13:15:35 +01:00
|
|
|
VOID (*pSetDeviceClipping)(PHYSDEV,HRGN);
|
2011-07-13 14:56:12 +02:00
|
|
|
BOOL (*pSetDeviceGammaRamp)(PHYSDEV,LPVOID);
|
|
|
|
DWORD (*pSetLayout)(PHYSDEV,DWORD);
|
|
|
|
INT (*pSetMapMode)(PHYSDEV,INT);
|
|
|
|
DWORD (*pSetMapperFlags)(PHYSDEV,DWORD);
|
|
|
|
COLORREF (*pSetPixel)(PHYSDEV,INT,INT,COLORREF);
|
|
|
|
INT (*pSetPolyFillMode)(PHYSDEV,INT);
|
|
|
|
INT (*pSetROP2)(PHYSDEV,INT);
|
|
|
|
INT (*pSetRelAbs)(PHYSDEV,INT);
|
|
|
|
INT (*pSetStretchBltMode)(PHYSDEV,INT);
|
|
|
|
UINT (*pSetTextAlign)(PHYSDEV,UINT);
|
|
|
|
INT (*pSetTextCharacterExtra)(PHYSDEV,INT);
|
|
|
|
COLORREF (*pSetTextColor)(PHYSDEV,COLORREF);
|
|
|
|
BOOL (*pSetTextJustification)(PHYSDEV,INT,INT);
|
|
|
|
BOOL (*pSetViewportExtEx)(PHYSDEV,INT,INT,SIZE*);
|
|
|
|
BOOL (*pSetViewportOrgEx)(PHYSDEV,INT,INT,POINT*);
|
|
|
|
BOOL (*pSetWindowExtEx)(PHYSDEV,INT,INT,SIZE*);
|
|
|
|
BOOL (*pSetWindowOrgEx)(PHYSDEV,INT,INT,POINT*);
|
|
|
|
BOOL (*pSetWorldTransform)(PHYSDEV,const XFORM*);
|
|
|
|
INT (*pStartDoc)(PHYSDEV,const DOCINFOW*);
|
|
|
|
INT (*pStartPage)(PHYSDEV);
|
|
|
|
BOOL (*pStretchBlt)(PHYSDEV,struct bitblt_coords*,PHYSDEV,struct bitblt_coords*,DWORD);
|
2011-09-02 15:53:10 +02:00
|
|
|
INT (*pStretchDIBits)(PHYSDEV,INT,INT,INT,INT,INT,INT,INT,INT,const void*,BITMAPINFO*,UINT,DWORD);
|
2011-07-13 14:56:12 +02:00
|
|
|
BOOL (*pStrokeAndFillPath)(PHYSDEV);
|
|
|
|
BOOL (*pStrokePath)(PHYSDEV);
|
|
|
|
BOOL (*pUnrealizePalette)(HPALETTE);
|
|
|
|
BOOL (*pWidenPath)(PHYSDEV);
|
2012-07-18 23:58:41 +02:00
|
|
|
struct opengl_funcs * (*wine_get_wgl_driver)(PHYSDEV,UINT);
|
2012-05-08 12:16:05 +02:00
|
|
|
|
|
|
|
/* priority order for the driver on the stack */
|
|
|
|
UINT priority;
|
2011-07-13 12:28:16 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/* increment this when you change the DC function table */
|
2012-12-18 17:52:37 +01:00
|
|
|
#define WINE_GDI_DRIVER_VERSION 46
|
2012-05-08 12:16:05 +02:00
|
|
|
|
|
|
|
#define GDI_PRIORITY_NULL_DRV 0 /* null driver */
|
|
|
|
#define GDI_PRIORITY_FONT_DRV 100 /* any font driver */
|
|
|
|
#define GDI_PRIORITY_GRAPHICS_DRV 200 /* any graphics driver */
|
|
|
|
#define GDI_PRIORITY_DIB_DRV 300 /* the DIB driver */
|
|
|
|
#define GDI_PRIORITY_PATH_DRV 400 /* the path driver */
|
2011-07-13 12:28:16 +02:00
|
|
|
|
|
|
|
static inline PHYSDEV get_physdev_entry_point( PHYSDEV dev, size_t offset )
|
|
|
|
{
|
|
|
|
while (!((void **)dev->funcs)[offset / sizeof(void *)]) dev = dev->next;
|
|
|
|
return dev;
|
|
|
|
}
|
|
|
|
|
2011-07-06 17:35:17 +02:00
|
|
|
#define GET_NEXT_PHYSDEV(dev,func) \
|
|
|
|
get_physdev_entry_point( (dev)->next, FIELD_OFFSET(struct gdi_dc_funcs,func))
|
2011-07-13 12:28:16 +02:00
|
|
|
|
2011-09-07 14:39:46 +02:00
|
|
|
static inline void push_dc_driver( PHYSDEV *dev, PHYSDEV physdev, const struct gdi_dc_funcs *funcs )
|
|
|
|
{
|
2012-05-08 12:16:05 +02:00
|
|
|
while ((*dev)->funcs->priority > funcs->priority) dev = &(*dev)->next;
|
2011-09-07 14:39:46 +02:00
|
|
|
physdev->funcs = funcs;
|
|
|
|
physdev->next = *dev;
|
|
|
|
physdev->hdc = (*dev)->hdc;
|
|
|
|
*dev = physdev;
|
|
|
|
}
|
|
|
|
|
2012-09-06 12:23:10 +02:00
|
|
|
/* support for window surfaces */
|
|
|
|
|
|
|
|
struct window_surface;
|
|
|
|
|
|
|
|
struct window_surface_funcs
|
|
|
|
{
|
|
|
|
void (*lock)( struct window_surface *surface );
|
|
|
|
void (*unlock)( struct window_surface *surface );
|
|
|
|
void* (*get_info)( struct window_surface *surface, BITMAPINFO *info );
|
|
|
|
RECT* (*get_bounds)( struct window_surface *surface );
|
2012-10-09 15:21:21 +02:00
|
|
|
void (*set_region)( struct window_surface *surface, HRGN region );
|
2012-09-06 12:23:10 +02:00
|
|
|
void (*flush)( struct window_surface *surface );
|
|
|
|
void (*destroy)( struct window_surface *surface );
|
|
|
|
};
|
|
|
|
|
|
|
|
struct window_surface
|
|
|
|
{
|
|
|
|
const struct window_surface_funcs *funcs; /* driver-specific implementations */
|
|
|
|
struct list entry; /* entry in global list managed by user32 */
|
|
|
|
LONG ref; /* reference count */
|
|
|
|
RECT rect; /* constant, no locking needed */
|
|
|
|
/* driver-specific fields here */
|
|
|
|
};
|
|
|
|
|
|
|
|
static inline ULONG window_surface_add_ref( struct window_surface *surface )
|
|
|
|
{
|
|
|
|
return InterlockedIncrement( &surface->ref );
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline ULONG window_surface_release( struct window_surface *surface )
|
|
|
|
{
|
|
|
|
ULONG ret = InterlockedDecrement( &surface->ref );
|
|
|
|
if (!ret) surface->funcs->destroy( surface );
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
2012-05-31 11:44:23 +02:00
|
|
|
/* the DC hook support is only exported on Win16, the 32-bit version is a Wine extension */
|
|
|
|
|
|
|
|
#define DCHC_INVALIDVISRGN 0x0001
|
|
|
|
#define DCHC_DELETEDC 0x0002
|
|
|
|
#define DCHF_INVALIDATEVISRGN 0x0001
|
|
|
|
#define DCHF_VALIDATEVISRGN 0x0002
|
2012-10-24 18:24:03 +02:00
|
|
|
#define DCHF_RESETDC 0x0004 /* Wine extension */
|
2012-05-31 11:44:23 +02:00
|
|
|
|
|
|
|
typedef BOOL (CALLBACK *DCHOOKPROC)(HDC,WORD,DWORD_PTR,LPARAM);
|
|
|
|
|
|
|
|
WINGDIAPI DWORD_PTR WINAPI GetDCHook(HDC,DCHOOKPROC*);
|
|
|
|
WINGDIAPI BOOL WINAPI SetDCHook(HDC,DCHOOKPROC,DWORD_PTR);
|
|
|
|
WINGDIAPI WORD WINAPI SetHookFlags(HDC,WORD);
|
|
|
|
|
|
|
|
extern void CDECL __wine_make_gdi_object_system( HGDIOBJ handle, BOOL set );
|
2012-09-05 19:29:29 +02:00
|
|
|
extern void CDECL __wine_set_visible_region( HDC hdc, HRGN hrgn, const RECT *vis_rect,
|
2012-09-06 12:23:10 +02:00
|
|
|
const RECT *device_rect, struct window_surface *surface );
|
2013-10-29 12:39:46 +01:00
|
|
|
extern void CDECL __wine_set_display_driver( HMODULE module );
|
2012-07-18 23:58:41 +02:00
|
|
|
extern struct opengl_funcs * CDECL __wine_get_wgl_driver( HDC hdc, UINT version );
|
2012-05-31 11:44:23 +02:00
|
|
|
|
2011-07-07 12:43:51 +02:00
|
|
|
#endif /* __WINE_WINE_GDI_DRIVER_H */
|