VirtualBox

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

Last change on this file since 8061 was 1, checked in by vboxsync, 55 years ago

import

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 937 bytes
Line 
1/***************************************************************************\
2*
3* *******************
4* * GDI SAMPLE CODE *
5* *******************
6*
7* Module Name: debug.h
8*
9* Commonly used debugging macros.
10*
11* Copyright (c) 1992-1998 Microsoft Corporation
12\***************************************************************************/
13
14//VBOX
15#ifdef LOG_ENABLED
16VOID
17DebugPrint(
18 ULONG DebugPrintLevel,
19 PCHAR DebugMessage,
20 ...
21 );
22
23#define DISPDBG(arg) DebugPrint arg
24#define RIP(x) { DebugPrint(0, x); }
25#else
26#define DISPDBG(arg)
27#define RIP(x)
28#endif
29
30// #if DBG
31//
32// VOID
33// DebugPrint(
34// ULONG DebugPrintLevel,
35// PCHAR DebugMessage,
36// ...
37// );
38//
39// #define DISPDBG(arg) DebugPrint arg
40// #define RIP(x) { DebugPrint(0, x); EngDebugBreak();}
41//
42// #else
43//
44// #define DISPDBG(arg)
45// #define RIP(x)
46//
47// #endif
48
49
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