mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Move the inclusion of <debug.h> to individual files and consolidate the inclusion of DDRAW/D3D headers a bit.
svn path=/trunk/; revision=16320
This commit is contained in:
parent
1d02274287
commit
db07afe07a
80 changed files with 236 additions and 37 deletions
|
@ -17,8 +17,12 @@
|
|||
* 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 };
|
||||
|
|
|
@ -20,6 +20,9 @@
|
|||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
VOID
|
||||
DIB_16BPP_PutPixel(SURFOBJ *SurfObj, LONG x, LONG y, ULONG c)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -17,8 +17,12 @@
|
|||
* 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)
|
||||
{
|
||||
|
|
|
@ -17,10 +17,11 @@
|
|||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
VOID
|
||||
DIB_32BPP_PutPixel(SURFOBJ *SurfObj, LONG x, LONG y, ULONG c)
|
||||
|
|
|
@ -17,8 +17,12 @@
|
|||
* 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)
|
||||
{
|
||||
|
|
|
@ -17,8 +17,12 @@
|
|||
* 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)
|
||||
{
|
||||
|
|
|
@ -26,8 +26,12 @@
|
|||
* REVISION HISTORY:
|
||||
* 2/10/1999: Created
|
||||
*/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
typedef BOOLEAN STDCALL (*PBLTRECTFUNC)(SURFOBJ* OutputObj,
|
||||
SURFOBJ* InputObj,
|
||||
SURFOBJ* Mask,
|
||||
|
|
|
@ -26,8 +26,12 @@
|
|||
* REVISION HISTORY:
|
||||
* 3/7/1999: Created
|
||||
*/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
|
@ -26,8 +26,12 @@
|
|||
* REVISION HISTORY:
|
||||
* 21/8/1999: Created
|
||||
*/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
static inline int
|
||||
CompareRightDown(const PRECT r1, const PRECT r2)
|
||||
{
|
||||
|
|
|
@ -25,8 +25,12 @@
|
|||
* REVISION HISTORY:
|
||||
* 8/18/1999: Created
|
||||
*/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
|
@ -26,8 +26,12 @@
|
|||
* REVISION HISTORY:
|
||||
* 11/7/1999: Created
|
||||
*/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
|
@ -26,8 +26,12 @@
|
|||
* REVISION HISTORY:
|
||||
* 3/7/1999: Created
|
||||
*/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
|
@ -25,8 +25,11 @@
|
|||
* REVISION HISTORY:
|
||||
* 04/01/2005: Created
|
||||
*/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/*!\brief Called when the process is terminated.
|
||||
*
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
|
@ -26,8 +26,12 @@
|
|||
* REVISION HISTORY:
|
||||
* 2/10/1999: Created
|
||||
*/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
BOOL
|
||||
STDCALL
|
||||
EngCreateEvent ( OUT PEVENT *Event )
|
||||
|
|
|
@ -25,8 +25,12 @@
|
|||
* PROGRAMER: Jason Filby
|
||||
* REVISION HISTORY:
|
||||
*/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
BOOL
|
||||
STDCALL
|
||||
EngRestoreFloatingPointState ( IN VOID *Buffer )
|
||||
|
|
|
@ -26,8 +26,12 @@
|
|||
* REVISION HISTORY:
|
||||
* 3/7/1999: Created
|
||||
*/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* MACROS *********************************************************************/
|
||||
|
||||
const LONG LINC[2] = {-1, 1};
|
||||
|
|
|
@ -18,8 +18,12 @@
|
|||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
static void FASTCALL
|
||||
TranslateRects(RECT_ENUM *RectEnum, POINTL* Translate)
|
||||
{
|
||||
|
|
|
@ -29,6 +29,9 @@
|
|||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
typedef struct _USERMEMHEADER
|
||||
{
|
||||
ULONG Tag;
|
||||
|
|
|
@ -17,8 +17,12 @@
|
|||
* 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,
|
||||
|
|
|
@ -26,8 +26,12 @@
|
|||
* 06-06-2001 CSH Created
|
||||
*/
|
||||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
INT INTERNAL_CALL
|
||||
|
|
|
@ -29,6 +29,9 @@
|
|||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
BOOL STDCALL FillSolid(SURFOBJ *Surface, PRECTL pRect, ULONG iColor)
|
||||
{
|
||||
LONG y;
|
||||
|
|
|
@ -26,8 +26,12 @@
|
|||
* REVISION HISTORY:
|
||||
* 11/7/1999: Created
|
||||
*/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
|
@ -24,8 +24,12 @@
|
|||
* FILE: subsys/win32k/eng/perfcnt.c
|
||||
* PROGRAMER: Ge van Geldorp
|
||||
*/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
|
@ -17,8 +17,12 @@
|
|||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
|
@ -30,8 +30,12 @@
|
|||
* - 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 */
|
||||
|
|
|
@ -26,8 +26,11 @@
|
|||
* REVISION HISTORY:
|
||||
* 4/6/2004: Created
|
||||
*/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
BOOL STDCALL
|
||||
EngTransparentBlt(SURFOBJ *Dest,
|
||||
|
|
|
@ -31,6 +31,9 @@
|
|||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/*
|
||||
* Calls the WNDOBJCHANGEPROC of the given WNDOBJ
|
||||
*/
|
||||
|
|
|
@ -29,6 +29,9 @@
|
|||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
static inline ULONG
|
||||
ShiftAndMask(XLATEGDI *XlateGDI, ULONG Color)
|
||||
{
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
/* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
|
|
|
@ -20,12 +20,12 @@
|
|||
*
|
||||
* 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);
|
||||
|
|
|
@ -26,8 +26,12 @@
|
|||
* REVISION HISTORY:
|
||||
* 06-06-2001 CSH Created
|
||||
*/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
VOID FASTCALL
|
||||
SetLastNtError(NTSTATUS Status)
|
||||
{
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
*/
|
||||
|
||||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
|
|
|
@ -9,6 +9,9 @@
|
|||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
static HANDLE WindowsApiPort = NULL;
|
||||
PEPROCESS CsrProcess = NULL;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -28,8 +28,12 @@
|
|||
*/
|
||||
|
||||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* GLOBALS *******************************************************************/
|
||||
|
||||
/* Currently active desktop */
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <win32k/debug1.h>
|
||||
#include <debug.h>
|
||||
|
||||
HWND FASTCALL
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <win32k/debug1.h>
|
||||
#include <debug.h>
|
||||
|
||||
#define HOOKID_TO_INDEX(HookId) (HookId - WH_MINHOOK)
|
||||
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
|
||||
/* GLOBALS *******************************************************************/
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
|
|
@ -30,9 +30,11 @@
|
|||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <w32k.h>
|
||||
#include <rosrtl/string.h>
|
||||
#include <ddk/ntddkbd.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* GLOBALS *******************************************************************/
|
||||
|
||||
static HANDLE MouseDeviceHandle;
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <w32k.h>
|
||||
#include <pseh.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#define MONITOR_DEFAULTTOPRIMARY 1
|
||||
#define MONITOR_DEFAULTTONEAREST 2
|
||||
|
||||
//#define NDEBUG
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* GLOBALS *******************************************************************/
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <win32k/debug1.h>
|
||||
#include <debug.h>
|
||||
|
||||
/* GLOBALS *******************************************************************/
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <win32k/debug1.h>
|
||||
#include <debug.h>
|
||||
|
||||
#define DCX_USESTYLE 0x10000
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include <w32k.h>
|
||||
|
||||
//#define NDEBUG
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
typedef struct _PROPLISTITEM
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include <w32k.h>
|
||||
|
||||
#undef NDEBUG
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* GLOBALS *******************************************************************/
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <win32k/debug1.h>
|
||||
#include <debug.h>
|
||||
|
||||
HRGN FASTCALL
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -20,6 +20,9 @@
|
|||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/******************************************************************
|
||||
*
|
||||
* *Very* simple bezier drawing code,
|
||||
|
|
|
@ -17,8 +17,12 @@
|
|||
* 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 && \
|
||||
|
|
|
@ -19,8 +19,12 @@
|
|||
*
|
||||
* $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 */
|
||||
|
|
|
@ -17,8 +17,12 @@
|
|||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
int FASTCALL
|
||||
CLIPPING_UpdateGCRegion(DC* Dc)
|
||||
{
|
||||
|
|
|
@ -17,8 +17,12 @@
|
|||
* 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;
|
||||
|
|
|
@ -26,8 +26,12 @@
|
|||
*/
|
||||
|
||||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
BOOL FASTCALL
|
||||
|
|
|
@ -21,8 +21,12 @@
|
|||
* DC.C - Device context functions
|
||||
*
|
||||
*/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#ifndef OBJ_COLORSPACE
|
||||
#define OBJ_COLORSPACE (14)
|
||||
#endif
|
||||
|
|
|
@ -18,8 +18,11 @@
|
|||
* 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)
|
||||
|
|
|
@ -16,8 +16,12 @@
|
|||
* 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
|
||||
*/
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
|
|
|
@ -17,8 +17,12 @@
|
|||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
BOOL
|
||||
STDCALL
|
||||
NtGdiCheckColorsInGamut(HDC hDC,
|
||||
|
|
|
@ -16,8 +16,12 @@
|
|||
* 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)
|
||||
|
||||
|
||||
|
|
|
@ -17,8 +17,12 @@
|
|||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
HENHMETAFILE
|
||||
STDCALL
|
||||
NtGdiCloseEnhMetaFile(HDC hDC)
|
||||
|
|
|
@ -17,8 +17,12 @@
|
|||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
BOOL
|
||||
STDCALL
|
||||
NtGdiGdiFlush(VOID)
|
||||
|
|
|
@ -17,8 +17,12 @@
|
|||
* 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];
|
||||
|
|
|
@ -17,9 +17,13 @@
|
|||
* 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 */
|
||||
|
|
|
@ -19,8 +19,12 @@
|
|||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* PRIVATE FUNCTIONS **********************************************************/
|
||||
|
||||
HPEN FASTCALL
|
||||
|
|
|
@ -26,8 +26,12 @@
|
|||
* REVISION HISTORY:
|
||||
* 21/2/2003: Created
|
||||
*/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
INT abs(INT nm);
|
||||
|
||||
#define FILL_EDGE_ALLOC_TAG 0x45465044
|
||||
|
|
|
@ -17,8 +17,12 @@
|
|||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
INT
|
||||
STDCALL
|
||||
NtGdiAbortDoc(HDC hDC)
|
||||
|
|
|
@ -17,8 +17,12 @@
|
|||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
VOID FASTCALL
|
||||
|
|
|
@ -117,6 +117,9 @@ SOFTWARE.
|
|||
#include <w32k.h>
|
||||
#include <win32k/float.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
// Internal Functions
|
||||
|
||||
#if 1
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
|
|
|
@ -23,12 +23,16 @@
|
|||
* 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 {
|
||||
|
|
|
@ -17,8 +17,12 @@
|
|||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <w32k.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
INT
|
||||
STDCALL
|
||||
NtGdiChoosePixelFormat(HDC hDC,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue