* 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 };
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
VOID
DIB_16BPP_PutPixel(SURFOBJ *SurfObj, LONG x, LONG y, ULONG c)
{
/* $Id$ */
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
VOID
DIB_1BPP_PutPixel(SURFOBJ *SurfObj, LONG x, LONG y, ULONG c)
{
* 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)
{
* 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)
* 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)
{
* 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)
{
* REVISION HISTORY:
* 2/10/1999: Created
*/
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
typedef BOOLEAN STDCALL (*PBLTRECTFUNC)(SURFOBJ* OutputObj,
SURFOBJ* InputObj,
SURFOBJ* Mask,
* REVISION HISTORY:
* 3/7/1999: Created
*/
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
/*
* @implemented
*/
* REVISION HISTORY:
* 21/8/1999: Created
*/
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
static inline int
CompareRightDown(const PRECT r1, const PRECT r2)
{
* REVISION HISTORY:
* 8/18/1999: Created
*/
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
/*
* @implemented
*/
* REVISION HISTORY:
* 11/7/1999: Created
*/
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
/*
* @implemented
*/
* REVISION HISTORY:
* 3/7/1999: Created
*/
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
/*
* @implemented
*/
* REVISION HISTORY:
* 04/01/2005: Created
*/
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
/*!\brief Called when the process is terminated.
*
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
/*
* @implemented
*/
* REVISION HISTORY:
* 2/10/1999: Created
*/
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
BOOL
STDCALL
EngCreateEvent ( OUT PEVENT *Event )
* PROGRAMER: Jason Filby
* REVISION HISTORY:
*/
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
BOOL
STDCALL
EngRestoreFloatingPointState ( IN VOID *Buffer )
* REVISION HISTORY:
* 3/7/1999: Created
*/
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
/* MACROS *********************************************************************/
const LONG LINC[2] = {-1, 1};
*
* $Id$
*/
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
static void FASTCALL
TranslateRects(RECT_ENUM *RectEnum, POINTL* Translate)
{
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
typedef struct _USERMEMHEADER
{
ULONG Tag;
* 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,
* 06-06-2001 CSH Created
*/
/* INCLUDES ******************************************************************/
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
/* FUNCTIONS *****************************************************************/
INT INTERNAL_CALL
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
BOOL STDCALL FillSolid(SURFOBJ *Surface, PRECTL pRect, ULONG iColor)
{
LONG y;
* REVISION HISTORY:
* 11/7/1999: Created
*/
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
/*
* @implemented
*/
* FILE: subsys/win32k/eng/perfcnt.c
* PROGRAMER: Ge van Geldorp
*/
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
/*
* @implemented
*/
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
/*
* @implemented
*/
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id$ */
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
/*
* @implemented
*/
* - 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 */
* REVISION HISTORY:
* 4/6/2004: Created
*/
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
BOOL STDCALL
EngTransparentBlt(SURFOBJ *Dest,
\r
#include <w32k.h>\r
\r
+#define NDEBUG\r
+#include <debug.h>\r
+\r
/*\r
* Calls the WNDOBJCHANGEPROC of the given WNDOBJ\r
*/\r
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
static inline ULONG
ShiftAndMask(XLATEGDI *XlateGDI, ULONG Color)
{
#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>
/* $Id$
*
*/
+
#include <w32k.h>
#define NDEBUG
*
* 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);
* REVISION HISTORY:
* 06-06-2001 CSH Created
*/
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
VOID FASTCALL
SetLastNtError(NTSTATUS Status)
{
/*
- *
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* PURPOSE: Native DirectDraw implementation
* 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>
/*
- *
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* PURPOSE: Native DirectDraw stubs
* 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>
*/
/* INCLUDES ******************************************************************/
+
#include <w32k.h>
#define NDEBUG
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
static HANDLE WindowsApiPort = NULL;
PEPROCESS CsrProcess = NULL;
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
static PAGED_LOOKASIDE_LIST ProcessLookasideList;
static LIST_ENTRY CurIconList;
static FAST_MUTEX CurIconListLock;
*/
/* INCLUDES ******************************************************************/
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
/* GLOBALS *******************************************************************/
/* Currently active desktop */
#include <w32k.h>
#define NDEBUG
-#include <win32k/debug1.h>
#include <debug.h>
HWND FASTCALL
#include <w32k.h>
#define NDEBUG
-#include <win32k/debug1.h>
+#include <debug.h>
#define HOOKID_TO_INDEX(HookId) (HookId - WH_MINHOOK)
#define NDEBUG
#include <debug.h>
-
/* GLOBALS *******************************************************************/
/* FUNCTIONS *****************************************************************/
/* INCLUDES ******************************************************************/
#include <w32k.h>
-#include <rosrtl/string.h>
#include <ddk/ntddkbd.h>
+#define NDEBUG
+#include <debug.h>
+
/* GLOBALS *******************************************************************/
static HANDLE MouseDeviceHandle;
/* INCLUDES ******************************************************************/
#include <w32k.h>
-#include <pseh.h>
#define NDEBUG
#include <debug.h>
#define MONITOR_DEFAULTTOPRIMARY 1
#define MONITOR_DEFAULTTONEAREST 2
-//#define NDEBUG
+#define NDEBUG
#include <debug.h>
/* GLOBALS *******************************************************************/
#include <w32k.h>
#define NDEBUG
-#include <win32k/debug1.h>
#include <debug.h>
/* GLOBALS *******************************************************************/
#include <w32k.h>
#define NDEBUG
-#include <win32k/debug1.h>
+#include <debug.h>
#define DCX_USESTYLE 0x10000
#include <w32k.h>
-//#define NDEBUG
+#define NDEBUG
#include <debug.h>
typedef struct _PROPLISTITEM
#include <w32k.h>
-#undef NDEBUG
+#define NDEBUG
#include <debug.h>
/* GLOBALS *******************************************************************/
#include <w32k.h>
#define NDEBUG
-#include <win32k/debug1.h>
#include <debug.h>
HRGN FASTCALL
#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 */
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
/******************************************************************
*
* *Very* simple bezier drawing code,
* 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 && \
*
* $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 */
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id$ */
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
int FASTCALL
CLIPPING_UpdateGCRegion(DC* Dc)
{
* 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;
*/
/* INCLUDES ******************************************************************/
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
/* FUNCTIONS *****************************************************************/
BOOL FASTCALL
* DC.C - Device context functions
*
*/
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
#ifndef OBJ_COLORSPACE
#define OBJ_COLORSPACE (14)
#endif
* 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)
* 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
*/
*
* $Id$
*/
+
#include <w32k.h>
#define NDEBUG
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id$ */
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
BOOL
STDCALL
NtGdiCheckColorsInGamut(HDC hDC,
* 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)
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id$ */
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
HENHMETAFILE
STDCALL
NtGdiCloseEnhMetaFile(HDC hDC)
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id$ */
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
BOOL
STDCALL
NtGdiGdiFlush(VOID)
* 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];
* 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 */
*
* $Id$
*/
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
/* PRIVATE FUNCTIONS **********************************************************/
HPEN FASTCALL
* REVISION HISTORY:
* 21/2/2003: Created
*/
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
INT abs(INT nm);
#define FILL_EDGE_ALLOC_TAG 0x45465044
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id$ */
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
INT
STDCALL
NtGdiAbortDoc(HDC hDC)
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id$ */
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
/* FUNCTIONS *****************************************************************/
VOID FASTCALL
#include <w32k.h>
#include <win32k/float.h>
+#define NDEBUG
+#include <debug.h>
+
// Internal Functions
#if 1
* $Id$
*
*/
+
#include <w32k.h>
#define NDEBUG
* 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 {
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id$ */
+
#include <w32k.h>
+#define NDEBUG
+#include <debug.h>
+
INT
STDCALL
NtGdiChoosePixelFormat(HDC hDC,
#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
#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
/* 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 ? */
/* Internal Win32K Header */
#include "include/win32k.h"
-/* FIXME: This is totally wrong, why was it like this?? */
-#define NDEBUG
-#include <debug.h>
-