bef7d7a68e3dd5a3e3d74e838c54e5689a368475
[reactos.git] / subsys / win32k / eng / misc.h
1 /*
2  *  ReactOS kernel
3  *  Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team
4  *
5  *  This program is free software; you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License as published by
7  *  the Free Software Foundation; either version 2 of the License, or
8  *  (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU General Public License for more details.
14  *
15  *  You should have received a copy of the GNU General Public License
16  *  along with this program; if not, write to the Free Software
17  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18  */
19 /* $Id$ */
20 #ifndef __ENG_MISC_H
21 #define __ENG_MISC_H
22
23 #ifndef __ENG_OBJECTS_H
24 #include "objects.h"
25 #endif
26
27 typedef struct INTENG_ENTER_LEAVE_TAG
28   {
29   /* Contents is private to EngEnter/EngLeave */
30   SURFOBJ *DestObj;
31   SURFGDI *DestGDI;
32   SURFOBJ *OutputObj;
33   HBITMAP OutputBitmap;
34   CLIPOBJ *TrivialClipObj;
35   RECTL DestRect;
36   BOOL ReadOnly;
37   } INTENG_ENTER_LEAVE, *PINTENG_ENTER_LEAVE;
38
39 extern BOOL STDCALL IntEngEnter(PINTENG_ENTER_LEAVE EnterLeave,
40                                 SURFOBJ *DestObj,
41                                 RECTL *DestRect,
42                                 BOOL ReadOnly,
43                                 POINTL *Translate,
44                                 SURFOBJ **OutputObj);
45 extern BOOL STDCALL IntEngLeave(PINTENG_ENTER_LEAVE EnterLeave);
46
47 #endif