VirtualBox

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

Last change on this file since 16684 was 16615, checked in by vboxsync, 16 years ago

additional header updates

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1/***************************************************************************\
2*
3* Copyright (C) 2006-2007 Sun Microsystems, Inc.
4*
5* This file is part of VirtualBox Open Source Edition (OSE), as
6* available from http://www.virtualbox.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* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
14* Clara, CA 95054 USA or visit http://www.sun.com if you need
15* additional information or have any questions.
16*/
17/*
18* Based in part on Microsoft DDK sample code
19*
20* *******************
21* * GDI SAMPLE CODE *
22* *******************
23*
24* Module Name: debug.h
25*
26* Commonly used debugging macros.
27*
28* Copyright (c) 1992-1998 Microsoft Corporation
29\***************************************************************************/
30
31
32#ifdef LOG_ENABLED
33
34VOID
35DebugPrint(
36 ULONG DebugPrintLevel,
37 PCHAR DebugMessage,
38 ...
39 );
40
41#define DISPDBG(arg) DebugPrint arg
42#define RIP(x) { DebugPrint(0, x); EngDebugBreak();}
43
44#else
45
46#define DISPDBG(arg)
47#define RIP(x)
48
49#endif
50
Note: See TracBrowser for help on using the repository browser.

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