VirtualBox

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

Last change on this file since 31740 was 28800, checked in by vboxsync, 15 years ago

Automated rebranding to Oracle copyright/license strings via filemuncher

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
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.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/*
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
28#ifdef LOG_ENABLED
29
30VOID
31DebugPrint(
32 ULONG DebugPrintLevel,
33 PCHAR DebugMessage,
34 ...
35 );
36
37#define DISPDBG(arg) DebugPrint arg
38#define RIP(x) { DebugPrint(0, x); EngDebugBreak();}
39
40#else
41
42#define DISPDBG(arg)
43#define RIP(x)
44
45#endif
46
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