wdmdebug.h

来自「winddk src目录下的WDM源码压缩!」· C头文件 代码 · 共 41 行

H
41
字号
//==========================================================================;
//
//  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
//  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
//  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
//  PURPOSE.
//
//  Copyright (c) 1992 - 1996  Microsoft Corporation.  All Rights Reserved.
//
// WDMDEBUG.H
//==========================================================================;


#ifndef __WDMDEBUG_H
#define __WDMDEBUG_H

#define DebugAssert(exp)

#ifdef DEBUG
#define DebugInfo(x) KdPrint(x)
#define DBG1(String) DebugPrint((DebugLevelVerbose, String))
#define TRAP DbgBreakPoint() //DEBUG_BREAKPOINT();
#else
#define DebugInfo(x)
#define DBG1(String)
#define TRAP
#endif


#if DBG

#define _DebugPrint(x)  ::StreamClassDebugPrint x

#else

#define _DebugPrint(x)

#endif // #if DBG

#endif // #ifndef __WDMDEBUG_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?