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.
47 lines
863 B
47 lines
863 B
//+---------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1992 - 1993.
|
|
//
|
|
// File: debug.h
|
|
//
|
|
// Contents:
|
|
//
|
|
// Classes:
|
|
//
|
|
// Functions:
|
|
//
|
|
// History: 8-02-94 RichardW Created
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
|
|
#ifndef __DEBUG_H__
|
|
#define __DEBUG_H__
|
|
|
|
#if DBG
|
|
|
|
extern DWORD GINAInfoLevel;
|
|
|
|
#define DebugLog(x) LogEvent x
|
|
|
|
|
|
void LogEvent(long, const char *, ...);
|
|
void InitDebugSupport(void);
|
|
|
|
#define DEB_ERROR 0x00000001
|
|
#define DEB_WARN 0x00000002
|
|
#define DEB_TRACE 0x00000004
|
|
#define DEB_TRACE_DOMAIN 0x00000008
|
|
#define DEB_TRACE_CACHE 0x00000010
|
|
|
|
|
|
#else
|
|
|
|
#define DebugLog(x)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // __DEBUG_H__
|