Fixed error handling in 16-bit functions (untested).
[wine] / include / dc.h
1 /*
2  * GDI Device Context function prototypes
3  *
4  * Copyright 1994 Alexandre Julliard
5  *
6  */
7
8 #ifndef __WINE_DC_H
9 #define __WINE_DC_H
10
11 #include "gdi.h"
12
13 #define CLIP_INTERSECT  0x0001
14 #define CLIP_EXCLUDE    0x0002
15 #define CLIP_KEEPRGN    0x0004
16
17 extern DC * DC_AllocDC( const DC_FUNCTIONS *funcs );
18 extern DC * DC_GetDCPtr( HDC32 hdc );
19 extern void DC_InitDC( DC * dc );
20 extern void DC_UpdateXforms( DC * dc );
21
22
23 /* objects/clipping.c */
24 INT32 CLIPPING_IntersectClipRect( DC * dc, INT32 left, INT32 top,
25     INT32 right, INT32 bottom, UINT32 flags );
26 INT32 CLIPPING_IntersectVisRect( DC * dc, INT32 left, INT32 top,
27     INT32 right, INT32 bottom, BOOL32 exclude );
28 extern void CLIPPING_UpdateGCRegion( DC * dc );
29
30 #endif /* __WINE_DC_H */