Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

55 lines
1.0 KiB

/******************************Module*Header*******************************\
* Module Name: debugint.c
*
*
* Created: 13-Sep-1993 08:55:20
* Author: Eric Kutter [erick]
*
* Copyright (c) 1993 Microsoft Corporation
*
\**************************************************************************/
#include "stdarg.h"
#include "stdio.h"
#include "engine.h"
#if DBG
ULONG GreTraceDisplayDriverLoad = 0;
ULONG GreTraceFontLoad = 0;
LONG gWarningLevel = 0;
// DoWarning1 is for ASM functions to call at Warning Level 1
VOID DoWarning1(PSZ psz)
{
if (1 <= gWarningLevel)
{
DbgPrint("GDISRV Warning: ");
DbgPrint(psz);
DbgPrint("\n");
}
}
VOID DoWarning(PSZ psz, LONG ulLevel)
{
if (ulLevel <= gWarningLevel)
{
DbgPrint("GDISRV Warning: ");
DbgPrint(psz);
DbgPrint("\n");
}
}
VOID DoRip(PSZ psz)
{
if (gWarningLevel >= 0)
{
DbgPrint("GDI Assertion Failure: ");
DbgPrint(psz);
DbgPrint("\n");
DbgBreakPoint();
}
}
#endif