VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Display/debug.h@ 35036

最後變更 在這個檔案從35036是 28800,由 vboxsync 提交於 15 年 前

Automated rebranding to Oracle copyright/license strings via filemuncher

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.5 KB
 
1/***************************************************************************\
2*
3 * Copyright (C) 2006-2007 Oracle Corporation
4 *
5 * This file is part of VirtualBox Open Source Edition (OSE), as
6 * available from http://www.alldomusa.eu.org. This file is free software;
7 * you can redistribute it and/or modify it under the terms of the GNU
8 * General Public License (GPL) as published by the Free Software
9 * Foundation, in version 2 as it comes in the "COPYING" file of the
10 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
11 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
12*/
13/*
14* Based in part on Microsoft DDK sample code
15*
16* *******************
17* * GDI SAMPLE CODE *
18* *******************
19*
20* Module Name: debug.h
21*
22* Commonly used debugging macros.
23*
24* Copyright (c) 1992-1998 Microsoft Corporation
25\***************************************************************************/
26
27//VBOX
28#ifdef LOG_ENABLED
29VOID
30DebugPrint(
31 ULONG DebugPrintLevel,
32 PCHAR DebugMessage,
33 ...
34 );
35
36#define DISPDBG(arg) DebugPrint arg
37#define VHWADBG(arg)
38#define RIP(x) { DebugPrint(0, x); }
39#else
40#define DISPDBG(arg)
41#define VHWADBG(arg)
42#define RIP(x)
43#endif
44
45// #if DBG
46//
47// VOID
48// DebugPrint(
49// ULONG DebugPrintLevel,
50// PCHAR DebugMessage,
51// ...
52// );
53//
54// #define DISPDBG(arg) DebugPrint arg
55// #define RIP(x) { DebugPrint(0, x); EngDebugBreak();}
56//
57// #else
58//
59// #define DISPDBG(arg)
60// #define RIP(x)
61//
62// #endif
63
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette