📄 wdmdebug.h
字号:
//==========================================================================;
//
// 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) 1996 - 1998 ATI Technologies Inc. All Rights Reserved.
//
//==========================================================================;
#ifndef _WDMDEBUG_H_
#define _WDMDEBUG_H_
#define TRAP DEBUG_BREAKPOINT();
// global variables
extern "C" ULONG g_DebugLevel;
#define OutputDebugTrace(x) { if( g_DebugLevel >= MINIDRIVER_DEBUGLEVEL_MESSAGE) DbgPrint x; }
#define OutputDebugInfo(x) { if( g_DebugLevel >= MINIDRIVER_DEBUGLEVEL_INFO) DbgPrint x; }
#define OutputDebugError(x) { if( g_DebugLevel >= MINIDRIVER_DEBUGLEVEL_ERROR) DbgPrint x; }
#endif // #ifndef _WDMDEBUG_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -