diff --git a/reactos/subsystems/win32/win32k/eng/misc.h b/reactos/subsystems/win32/win32k/eng/misc.h deleted file mode 100644 index dc38bfc6395..00000000000 --- a/reactos/subsystems/win32/win32k/eng/misc.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * ReactOS kernel - * Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ -/* $Id$ */ -#ifndef __ENG_MISC_H -#define __ENG_MISC_H - -#ifndef __ENG_OBJECTS_H -#include "objects.h" -#endif - -typedef struct INTENG_ENTER_LEAVE_TAG - { - /* Contents is private to EngEnter/EngLeave */ - SURFOBJ *DestObj; - SURFOBJ *OutputObj; - HBITMAP OutputBitmap; - CLIPOBJ *TrivialClipObj; - RECTL DestRect; - BOOL ReadOnly; - } INTENG_ENTER_LEAVE, *PINTENG_ENTER_LEAVE; - -extern BOOL APIENTRY IntEngEnter(PINTENG_ENTER_LEAVE EnterLeave, - SURFOBJ *DestObj, - RECTL *DestRect, - BOOL ReadOnly, - POINTL *Translate, - SURFOBJ **OutputObj); -extern BOOL APIENTRY IntEngLeave(PINTENG_ENTER_LEAVE EnterLeave); - -#endif diff --git a/reactos/subsystems/win32/win32k/eng/objects.h b/reactos/subsystems/win32/win32k/include/engobjects.h similarity index 100% rename from reactos/subsystems/win32/win32k/eng/objects.h rename to reactos/subsystems/win32/win32k/include/engobjects.h diff --git a/reactos/subsystems/win32/win32k/include/misc.h b/reactos/subsystems/win32/win32k/include/misc.h index 3661970fed4..776e940ec82 100644 --- a/reactos/subsystems/win32/win32k/include/misc.h +++ b/reactos/subsystems/win32/win32k/include/misc.h @@ -30,6 +30,26 @@ #define W32PF_MANUALGUICHECK (0x02000000) #define W32PF_CREATEDWINORDC (0x04000000) +typedef struct INTENG_ENTER_LEAVE_TAG + { + /* Contents is private to EngEnter/EngLeave */ + SURFOBJ *DestObj; + SURFOBJ *OutputObj; + HBITMAP OutputBitmap; + CLIPOBJ *TrivialClipObj; + RECTL DestRect; + BOOL ReadOnly; + } INTENG_ENTER_LEAVE, *PINTENG_ENTER_LEAVE; + +extern BOOL APIENTRY IntEngEnter(PINTENG_ENTER_LEAVE EnterLeave, + SURFOBJ *DestObj, + RECTL *DestRect, + BOOL ReadOnly, + POINTL *Translate, + SURFOBJ **OutputObj); + +extern BOOL APIENTRY IntEngLeave(PINTENG_ENTER_LEAVE EnterLeave); + extern HGDIOBJ StockObjects[]; extern SHORT gusLanguageID; diff --git a/reactos/subsystems/win32/win32k/include/mouse.h b/reactos/subsystems/win32/win32k/include/mouse.h index a41b5813969..b00903b2203 100644 --- a/reactos/subsystems/win32/win32k/include/mouse.h +++ b/reactos/subsystems/win32/win32k/include/mouse.h @@ -1,7 +1,6 @@ #ifndef _WIN32K_MOUSE_H #define _WIN32K_MOUSE_H -#include "../eng/misc.h" #include INT INTERNAL_CALL MouseSafetyOnDrawStart(SURFOBJ *SurfObj, LONG HazardX1, LONG HazardY1, LONG HazardX2, LONG HazardY2); diff --git a/reactos/subsystems/win32/win32k/include/text.h b/reactos/subsystems/win32/win32k/include/text.h index d7f57a13b1a..094c71e1209 100644 --- a/reactos/subsystems/win32/win32k/include/text.h +++ b/reactos/subsystems/win32/win32k/include/text.h @@ -1,6 +1,8 @@ #ifndef _WIN32K_TEXT_H #define _WIN32K_TEXT_H +#include + #define TAG_FINF TAG('F', 'I', 'N', 'F') // // EXSTROBJ flags. diff --git a/reactos/subsystems/win32/win32k/include/win32k.h b/reactos/subsystems/win32/win32k/include/win32k.h index 7ffcac53bf1..8be6efff6cf 100644 --- a/reactos/subsystems/win32/win32k/include/win32k.h +++ b/reactos/subsystems/win32/win32k/include/win32k.h @@ -73,8 +73,7 @@ #include #include #include -#include -#include +#include #include #endif /* __WIN32K_H */