usbdebug.h

来自「usb驱动源代码。98的」· C头文件 代码 · 共 52 行

H
52
字号
/*++

Copyright (c) 1999 Microsoft Corporation

Module Name:

    usbdebug.h

Abstract:

    IOS port driver for USB LS-120 drive
    debug header file

Environment:

    kernel mode only

Notes:

  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) 1999 Microsoft Corporation.  All Rights Reserved.


Revision History:

    03/19/99: MRB  Original

--*/


#ifdef DEBUG

#define DBG_MIN     1
#define DBG_DEFAULT 2 
#define DBG_MAX     3

extern DWORD CurrentDebugMask;

#define USBSTOR_DebugPrintf(DebugMask, _x_) \
        if( CurrentDebugMask >= DebugMask) { \
                        Debug_Printf("USBSTOR: "); \
                        Debug_Printf##_x_; \
       }

#else
#define USBSTOR_DebugPrintf(DebugMask, _x_) 
#endif

⌨️ 快捷键说明

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