Move the inclusion of <debug.h> to individual files and consolidate the inclusion...
authorFilip Navara <filip.navara@gmail.com>
Wed, 29 Jun 2005 07:09:25 +0000 (07:09 +0000)
committerFilip Navara <filip.navara@gmail.com>
Wed, 29 Jun 2005 07:09:25 +0000 (07:09 +0000)
svn path=/trunk/; revision=16320

80 files changed:
reactos/subsys/win32k/dib/dib.c
reactos/subsys/win32k/dib/dib16bpp.c
reactos/subsys/win32k/dib/dib1bpp.c
reactos/subsys/win32k/dib/dib24bpp.c
reactos/subsys/win32k/dib/dib32bpp.c
reactos/subsys/win32k/dib/dib4bpp.c
reactos/subsys/win32k/dib/dib8bpp.c
reactos/subsys/win32k/eng/bitblt.c
reactos/subsys/win32k/eng/brush.c
reactos/subsys/win32k/eng/clip.c
reactos/subsys/win32k/eng/copybits.c
reactos/subsys/win32k/eng/debug.c
reactos/subsys/win32k/eng/device.c
reactos/subsys/win32k/eng/driverobj.c
reactos/subsys/win32k/eng/error.c
reactos/subsys/win32k/eng/event.c
reactos/subsys/win32k/eng/float.c
reactos/subsys/win32k/eng/gradient.c
reactos/subsys/win32k/eng/lineto.c
reactos/subsys/win32k/eng/mem.c
reactos/subsys/win32k/eng/misc.c
reactos/subsys/win32k/eng/mouse.c
reactos/subsys/win32k/eng/paint.c
reactos/subsys/win32k/eng/palette.c
reactos/subsys/win32k/eng/perfcnt.c
reactos/subsys/win32k/eng/semaphor.c
reactos/subsys/win32k/eng/sort.c
reactos/subsys/win32k/eng/surface.c
reactos/subsys/win32k/eng/transblt.c
reactos/subsys/win32k/eng/window.c
reactos/subsys/win32k/eng/xlate.c
reactos/subsys/win32k/include/win32k.h
reactos/subsys/win32k/ldr/loader.c
reactos/subsys/win32k/main/dllmain.c
reactos/subsys/win32k/misc/error.c
reactos/subsys/win32k/ntddraw/ddraw.c
reactos/subsys/win32k/ntddraw/stubs.c
reactos/subsys/win32k/ntuser/accelerator.c
reactos/subsys/win32k/ntuser/csr.c
reactos/subsys/win32k/ntuser/cursoricon.c
reactos/subsys/win32k/ntuser/desktop.c
reactos/subsys/win32k/ntuser/focus.c
reactos/subsys/win32k/ntuser/hook.c
reactos/subsys/win32k/ntuser/hotkey.c
reactos/subsys/win32k/ntuser/input.c
reactos/subsys/win32k/ntuser/message.c
reactos/subsys/win32k/ntuser/monitor.c
reactos/subsys/win32k/ntuser/msgqueue.c
reactos/subsys/win32k/ntuser/painting.c
reactos/subsys/win32k/ntuser/prop.c
reactos/subsys/win32k/ntuser/timer.c
reactos/subsys/win32k/ntuser/vis.c
reactos/subsys/win32k/ntuser/window.c
reactos/subsys/win32k/objects/bezier.c
reactos/subsys/win32k/objects/bitmaps.c
reactos/subsys/win32k/objects/brush.c
reactos/subsys/win32k/objects/cliprgn.c
reactos/subsys/win32k/objects/color.c
reactos/subsys/win32k/objects/coord.c
reactos/subsys/win32k/objects/dc.c
reactos/subsys/win32k/objects/dib.c
reactos/subsys/win32k/objects/fillshap.c
reactos/subsys/win32k/objects/gdiobj.c
reactos/subsys/win32k/objects/icm.c
reactos/subsys/win32k/objects/line.c
reactos/subsys/win32k/objects/metafile.c
reactos/subsys/win32k/objects/paint.c
reactos/subsys/win32k/objects/palette.c
reactos/subsys/win32k/objects/path.c
reactos/subsys/win32k/objects/pen.c
reactos/subsys/win32k/objects/polyfill.c
reactos/subsys/win32k/objects/print.c
reactos/subsys/win32k/objects/rect.c
reactos/subsys/win32k/objects/region.c
reactos/subsys/win32k/objects/stockobj.c
reactos/subsys/win32k/objects/text.c
reactos/subsys/win32k/objects/wingl.c
reactos/subsys/win32k/stubs/stubs.c
reactos/subsys/win32k/stubs/xpstubs.c
reactos/subsys/win32k/w32k.h

index 4fcc25b..4696a32 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 /* $Id$ */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 /* Static data */
 
 unsigned char notmask[2] = { 0x0f, 0xf0 };
index c25b725..f0f1bb7 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 VOID
 DIB_16BPP_PutPixel(SURFOBJ *SurfObj, LONG x, LONG y, ULONG c)
 {
index 5689e2a..9b88aad 100644 (file)
@@ -19,6 +19,9 @@
 /* $Id$ */
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 VOID
 DIB_1BPP_PutPixel(SURFOBJ *SurfObj, LONG x, LONG y, ULONG c)
 {
index ebbcd27..970450b 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 /* $Id$ */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 VOID
 DIB_24BPP_PutPixel(SURFOBJ *SurfObj, LONG x, LONG y, ULONG c)
 {
index e84e842..30d3464 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 /* $Id$ */
-#include <w32k.h>
-
 
+#include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
 
 VOID
 DIB_32BPP_PutPixel(SURFOBJ *SurfObj, LONG x, LONG y, ULONG c)
index 78ba101..13ba5f8 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 /* $Id$ */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 VOID
 DIB_4BPP_PutPixel(SURFOBJ *SurfObj, LONG x, LONG y, ULONG c)
 {
index 5c72dad..f19699f 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 /* $Id$ */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 VOID
 DIB_8BPP_PutPixel(SURFOBJ *SurfObj, LONG x, LONG y, ULONG c)
 {
index 961f8dc..643ac11 100644 (file)
  * REVISION HISTORY:
  *        2/10/1999: Created
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 typedef BOOLEAN STDCALL (*PBLTRECTFUNC)(SURFOBJ* OutputObj,
                                         SURFOBJ* InputObj,
                                         SURFOBJ* Mask,
index 17e417d..715da96 100644 (file)
  * REVISION HISTORY:
  *                 3/7/1999: Created
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 /*
  * @implemented
  */
index fbf24f3..f61dad5 100644 (file)
  * REVISION HISTORY:
  *                 21/8/1999: Created
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 static inline int
 CompareRightDown(const PRECT r1, const PRECT r2)
 {
index d1ab7cf..f0d8646 100644 (file)
  * REVISION HISTORY:
  *        8/18/1999: Created
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 /*
  * @implemented
  */
index a7df4d7..6480b4a 100644 (file)
  * REVISION HISTORY:
  *                 11/7/1999: Created
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 /*
  * @implemented
  */
index 8e85677..b355eb7 100644 (file)
  * REVISION HISTORY:
  *                 3/7/1999: Created
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 /*
  * @implemented
  */
index 014d981..e8916e9 100644 (file)
  * REVISION HISTORY:
  *                 04/01/2005: Created
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
 
 /*!\brief Called when the process is terminated.
  *
index 7de6d96..73f24f9 100644 (file)
@@ -1,5 +1,8 @@
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 /*
  * @implemented
  */
index c93b65d..b7438b1 100644 (file)
  * REVISION HISTORY:
  *        2/10/1999: Created
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 BOOL
 STDCALL
 EngCreateEvent ( OUT PEVENT *Event )
index daa73ea..c64159a 100644 (file)
  * PROGRAMER:         Jason Filby
  * REVISION HISTORY:
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 BOOL
 STDCALL
 EngRestoreFloatingPointState ( IN VOID *Buffer )
index ee9c7f8..1a905b6 100644 (file)
  * REVISION HISTORY:
  *                 3/7/1999: Created
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 /* MACROS *********************************************************************/
 
 const LONG LINC[2] = {-1, 1};
index 671e253..32d66a1 100644 (file)
  *
  * $Id$
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 static void FASTCALL
 TranslateRects(RECT_ENUM *RectEnum, POINTL* Translate)
 {
index dfb8b97..ea821b0 100644 (file)
@@ -29,6 +29,9 @@
 
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 typedef struct _USERMEMHEADER
   {
   ULONG Tag;
index fdbef1d..5f35b6f 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 /* $Id$ */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 BOOL STDCALL
 IntEngEnter(PINTENG_ENTER_LEAVE EnterLeave,
             SURFOBJ *DestObj,
index 4f15abb..e7b1a2d 100644 (file)
  *       06-06-2001  CSH  Created
  */
 /* INCLUDES ******************************************************************/
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 /* FUNCTIONS *****************************************************************/
 
 INT INTERNAL_CALL
index 0a06be9..bff9d51 100644 (file)
@@ -29,6 +29,9 @@
 
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 BOOL STDCALL FillSolid(SURFOBJ *Surface, PRECTL pRect, ULONG iColor)
 {
   LONG y;
index 324686c..796d5e8 100644 (file)
  * REVISION HISTORY:
  *                 11/7/1999: Created
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 /*
  * @implemented
  */
index 70f15a6..a8f09f9 100644 (file)
  * FILE:              subsys/win32k/eng/perfcnt.c
  * PROGRAMER:         Ge van Geldorp
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 /*
  * @implemented
  */
index 5fc0940..05aea0b 100644 (file)
@@ -1,5 +1,8 @@
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 /*
  * @implemented
  */
index fa853d7..ddad4d1 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 /* $Id$ */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 /*
  * @implemented
  */
index 2b546d2..72945c2 100644 (file)
  * - Create a GDI bitmap with all formats, perform all drawing operations on them, render to VGA surface
  *   refer to \test\microwin\src\engine\devdraw.c for info on correct pixel plotting for various formats
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 enum Rle_EscapeCodes
 {
   RLE_EOL   = 0, /* End of line */
index bb159a0..d06fecb 100644 (file)
  * REVISION HISTORY:
  *        4/6/2004: Created
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
 
 BOOL STDCALL
 EngTransparentBlt(SURFOBJ *Dest,
index 86c6aa7..370c0d0 100644 (file)
@@ -31,6 +31,9 @@
  \r
 #include <w32k.h>\r
 \r
+#define NDEBUG\r
+#include <debug.h>\r
+\r
 /*\r
  * Calls the WNDOBJCHANGEPROC of the given WNDOBJ\r
  */\r
index bd84c9e..3906dd1 100644 (file)
@@ -29,6 +29,9 @@
 
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 static inline ULONG
 ShiftAndMask(XLATEGDI *XlateGDI, ULONG Color)
 {
index c660436..e7c5c50 100644 (file)
@@ -31,6 +31,7 @@
 #include <include/input.h>
 #include <include/inteng.h>
 #include <include/intgdi.h>
+#include <include/intddraw.h>
 #include <include/menu.h>
 #include <include/monitor.h>
 #include <include/mouse.h>
index 5137d38..fe7d3ff 100644 (file)
@@ -19,6 +19,7 @@
 /* $Id$
  *
  */
+
 #include <w32k.h>
 
 #define NDEBUG
index 7e087ff..c1d8003 100644 (file)
  *
  *  Entry Point for win32k.sys
  */
-#include <win32k/ntddraw.h> /* FIXME: FIX THIS! */
+
 #include <w32k.h>
+#include <win32k/ntddraw.h>
 #include <include/napi.h>
 
 #define NDEBUG
-#include <win32k/debug1.h>
 #include <debug.h>
 
 BOOL INTERNAL_CALL GDI_CleanupForProcess (struct _EPROCESS *Process);
index 7fb12bf..5943b4f 100644 (file)
  * REVISION HISTORY:
  *       06-06-2001  CSH  Created
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 VOID FASTCALL
 SetLastNtError(NTSTATUS Status)
 {
index 54304ec..92d0d27 100644 (file)
@@ -1,5 +1,4 @@
 /*
- *
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
  * PURPOSE:          Native DirectDraw implementation
@@ -8,14 +7,8 @@
  * REVISION HISTORY:
  *       25-10-2003  PB  Created
  */
-/* FIXME: FOR THE LOVE OF GOD SOMEONE PLEASE FIX THIS FUCKFEST */
-#include <ddk/ntddk.h>
-#include <win32k/ntddraw.h>
-#include <ddk/winddi.h>
+
 #include <w32k.h>
-#include <win32k/win32k.h>
-#include <include/intddraw.h>
-#include <win32k/gdiobj.h>
 
 #define NDEBUG
 #include <debug.h>
index 4e3bff5..4bf44d2 100644 (file)
@@ -1,5 +1,4 @@
 /*
- *
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
  * PURPOSE:          Native DirectDraw stubs
@@ -8,12 +7,8 @@
  * REVISION HISTORY:
  *       25-10-2003  PB  Created
  */
-/* FIXME: FOR THE LOVE OF GOD SOMEONE PLEASE FIX THIS FUCKFEST */
-#include <ddk/ntddk.h>
-#include <win32k/ntddraw.h>
-#include <ddk/winddi.h>
+
 #include <w32k.h>
-#include <win32k/win32k.h>
 
 #define NDEBUG
 #include <debug.h>
index e650d86..ce9091a 100644 (file)
@@ -48,6 +48,7 @@
  */
 
 /* INCLUDES ******************************************************************/
+
 #include <w32k.h>
 
 #define NDEBUG
index 24736be..6cb06c9 100644 (file)
@@ -9,6 +9,9 @@
 
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 static HANDLE WindowsApiPort = NULL;
 PEPROCESS CsrProcess = NULL;
            
index b430a57..df61c31 100644 (file)
@@ -38,6 +38,9 @@
 
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 static PAGED_LOOKASIDE_LIST ProcessLookasideList;
 static LIST_ENTRY CurIconList;
 static FAST_MUTEX CurIconListLock;
index 221feca..544794e 100644 (file)
  */
 
 /* INCLUDES ******************************************************************/
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 /* GLOBALS *******************************************************************/
 
 /* Currently active desktop */
index 9969db0..3309e11 100644 (file)
@@ -22,7 +22,6 @@
 #include <w32k.h>
 
 #define NDEBUG
-#include <win32k/debug1.h>
 #include <debug.h>
 
 HWND FASTCALL
index b7b2f5b..26a1c0a 100644 (file)
@@ -32,7 +32,7 @@
 #include <w32k.h>
 
 #define NDEBUG
-#include <win32k/debug1.h>
+#include <debug.h>
 
 #define HOOKID_TO_INDEX(HookId) (HookId - WH_MINHOOK)
 
index 651ec4e..7396c4f 100644 (file)
@@ -34,7 +34,6 @@
 #define NDEBUG
 #include <debug.h>
 
-
 /* GLOBALS *******************************************************************/
 
 /* FUNCTIONS *****************************************************************/
index fbacd53..2008fc3 100644 (file)
 /* INCLUDES ******************************************************************/
 
 #include <w32k.h>
-#include <rosrtl/string.h>
 #include <ddk/ntddkbd.h>
 
+#define NDEBUG
+#include <debug.h>
+
 /* GLOBALS *******************************************************************/
 
 static HANDLE MouseDeviceHandle;
index 82a7884..7afc347 100644 (file)
@@ -30,7 +30,6 @@
 /* INCLUDES ******************************************************************/
 
 #include <w32k.h>
-#include <pseh.h>
 
 #define NDEBUG
 #include <debug.h>
index 982b3be..8ee500e 100644 (file)
@@ -35,7 +35,7 @@
 #define MONITOR_DEFAULTTOPRIMARY  1
 #define MONITOR_DEFAULTTONEAREST  2
 
-//#define NDEBUG
+#define NDEBUG
 #include <debug.h>
 
 /* GLOBALS *******************************************************************/
index 9298444..9e72614 100644 (file)
@@ -32,7 +32,6 @@
 #include <w32k.h>
 
 #define NDEBUG
-#include <win32k/debug1.h>
 #include <debug.h>
 
 /* GLOBALS *******************************************************************/
index f95f3b4..1150f18 100644 (file)
@@ -33,7 +33,7 @@
 #include <w32k.h>
 
 #define NDEBUG
-#include <win32k/debug1.h>
+#include <debug.h>
 
 #define DCX_USESTYLE 0x10000
 
index 1b0f454..fef7f8c 100644 (file)
@@ -30,7 +30,7 @@
 
 #include <w32k.h>
 
-//#define NDEBUG
+#define NDEBUG
 #include <debug.h>
 
 typedef struct _PROPLISTITEM
index a577506..131366a 100644 (file)
@@ -32,7 +32,7 @@
 
 #include <w32k.h>
 
-#undef NDEBUG
+#define NDEBUG
 #include <debug.h>
 
 /* GLOBALS *******************************************************************/
index d28d167..1916ea2 100644 (file)
@@ -28,7 +28,6 @@
 #include <w32k.h>
 
 #define NDEBUG
-#include <win32k/debug1.h>
 #include <debug.h>
 
 HRGN FASTCALL
index 3e46f12..994a80f 100644 (file)
@@ -30,6 +30,9 @@
 
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 static WndProcHandle *WndProcHandlesArray = 0;
 static WORD WndProcHandlesArraySize = 0;
 #define WPH_SIZE 0x40 /* the size to add to the WndProcHandle array each time */
index fe65bf8..0c6784b 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 /******************************************************************
  *
  *   *Very* simple bezier drawing code,
index 5666bb6..e9d0272 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 /* $Id$ */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 #define IN_RECT(r,x,y) \
 ( \
  (x) >= (r).left && \
index f590662..b8d6803 100644 (file)
  *
  * $Id$
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 static const USHORT HatchBrushes[NB_HATCH_STYLES][8] =
 {
   {0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00}, /* HS_HORIZONTAL */
index 98be1bf..8990b2b 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 /* $Id$ */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 int FASTCALL
 CLIPPING_UpdateGCRegion(DC* Dc)
 {
index ae81141..f8786df 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 /* $Id$ */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 // FIXME: Use PXLATEOBJ logicalToSystem instead of int *mapping
 
 int COLOR_gapStart = 256;
index 10984b0..b0e94d5 100644 (file)
  */
 
 /* INCLUDES ******************************************************************/
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 /* FUNCTIONS *****************************************************************/
 
 BOOL FASTCALL
index a2ef845..676dc2d 100644 (file)
  * DC.C - Device context functions
  *
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 #ifndef OBJ_COLORSPACE
 #define OBJ_COLORSPACE (14)
 #endif
index e7ad455..06b1774 100644 (file)
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
+
 #include <w32k.h>
-#include <pseh.h>
+
+#define NDEBUG
+#include <debug.h>
 
 UINT STDCALL
 NtGdiSetDIBColorTable(HDC hDC, UINT StartIndex, UINT Entries, CONST RGBQUAD *Colors)
index ba9dc68..8cfea2c 100644 (file)
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 /*
  * a couple macros to fill a single pixel or a line
  */
index e4bb155..992b7b5 100644 (file)
@@ -21,6 +21,7 @@
  *
  * $Id$
  */
+
 #include <w32k.h>
 
 #define NDEBUG
index 7b12196..4286665 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 /* $Id$ */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 BOOL
 STDCALL
 NtGdiCheckColorsInGamut(HDC  hDC,
index fed0c9d..0d7f1f6 100644 (file)
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 // Some code from the WINE project source (www.winehq.com)
 
 
index 95fac43..aa7e02f 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 /* $Id$ */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 HENHMETAFILE
 STDCALL
 NtGdiCloseEnhMetaFile(HDC  hDC)
index b7fe051..8a5131f 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 /* $Id$ */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 BOOL
 STDCALL
 NtGdiGdiFlush(VOID)
index de3788a..4ae9d99 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 /* $Id$ */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 #ifndef NO_MAPPING
 static int           PALETTE_firstFree = 0;
 static unsigned char PALETTE_freeList[256];
index 6f4d7d6..adf5e5b 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 /* $Id$ */
+
 #include <w32k.h>
 #include <win32k/float.h>
 
+#define NDEBUG
+#include <debug.h>
+
 #define NUM_ENTRIES_INITIAL 16  /* Initial size of points / flags arrays  */
 #define GROW_FACTOR_NUMER    2  /* Numerator of grow factor for the array */
 #define GROW_FACTOR_DENOM    1  /* Denominator of grow factor             */
index f350d07..90383c0 100644 (file)
  *
  * $Id$
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 /* PRIVATE FUNCTIONS **********************************************************/
 
 HPEN FASTCALL
index 3a32e38..f18c45a 100644 (file)
  * REVISION HISTORY:
  *                 21/2/2003: Created
  */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 INT abs(INT nm);
 
 #define FILL_EDGE_ALLOC_TAG 0x45465044
index 5eb7cfa..bd4a0ba 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 /* $Id$ */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 INT
 STDCALL
 NtGdiAbortDoc(HDC  hDC)
index 584a28c..1d6289a 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 /* $Id$ */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 /* FUNCTIONS *****************************************************************/
 
 VOID FASTCALL
index ffe977d..31418c0 100644 (file)
@@ -117,6 +117,9 @@ SOFTWARE.
 #include <w32k.h>
 #include <win32k/float.h>
 
+#define NDEBUG
+#include <debug.h>
+
 // Internal Functions
 
 #if 1
index b9cdb65..fac0a07 100644 (file)
@@ -22,6 +22,7 @@
  * $Id$
  *
  */
+
 #include <w32k.h>
 
 #define NDEBUG
index c163192..2bbded8 100644 (file)
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 /* $Id$ */
+
 #include <w32k.h>
 
 #include <ft2build.h>
 #include FT_FREETYPE_H
 #include <freetype/tttables.h>
 
+#define NDEBUG
+#include <debug.h>
+
 FT_Library  library;
 
 typedef struct _FONT_ENTRY {
index 24f6dc8..0fd56bc 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 /* $Id$ */
+
 #include <w32k.h>
 
+#define NDEBUG
+#include <debug.h>
+
 INT
 STDCALL
 NtGdiChoosePixelFormat(HDC  hDC,
index 70385ed..19a9bcb 100644 (file)
@@ -5,10 +5,7 @@
 #include <w32k.h>
 
 #define STUB(x) void x(void) { DbgPrint("WIN32K: Stub for %s\n", #x); }
-
-#ifndef UNIMPLEMENTED
 #define UNIMPLEMENTED DbgPrint("(%s:%i) WIN32K: %s UNIMPLEMENTED\n", __FILE__, __LINE__, __FUNCTION__ )
-#endif//UNIMPLEMENTED
 
 /*
  * @unimplemented
index 310ea75..d3b6b1b 100644 (file)
@@ -6,6 +6,7 @@
 #include <w32k.h>
 
 #define STUB(x) void x(void) { DbgPrint("WIN32K: Stub for %s\n", #x); }
+#define UNIMPLEMENTED DbgPrint("(%s:%i) WIN32K: %s UNIMPLEMENTED\n", __FILE__, __LINE__, __FUNCTION__ )
 
 BOOL
 STDCALL
index 49e7309..c2a3bb2 100644 (file)
@@ -17,6 +17,8 @@
 /* DDK/NDK/SDK Headers */
 #include <ddk/ntddk.h>
 #include <ddk/ntifs.h>
+#include <ddk/ddrawint.h>
+#include <ddk/d3dnthal.h>
 #include <ddk/winddi.h>
 #include <ddk/ntddmou.h>
 #include <windows.h>    /* FIXME ? */
@@ -50,7 +52,3 @@ MmCopyToCaller(PVOID Dest, const VOID *Src, ULONG NumberOfBytes);
 /* Internal Win32K Header */
 #include "include/win32k.h"
 
-/* FIXME: This is totally wrong, why was it like this?? */
-#define NDEBUG
-#include <debug.h>
-