home *** CD-ROM | disk | FTP | other *** search
- /****************************************************************************
- *
- * debug.h
- *
- * Debug defines
- *
- * Microsoft Video for Windows Sample Capture Driver
- * Chips & Technologies 9001 based frame grabbers.
- *
- * Copyright (c) 1992-1993 Microsoft Corporation. All Rights Reserved.
- *
- * You have a royalty-free right to use, modify, reproduce and
- * distribute the Sample Files (and/or any modified version) in
- * any way you find useful, provided that you agree that
- * Microsoft has no warranty obligations or liability for any
- * Sample Application Files which are modified.
- *
- ***************************************************************************/
-
- #ifdef DEBUG
- #define D1(sz) if (wDebugLevel >= 1) (OutputDebugString("\r\nPCVideo: "),OutputDebugString(sz))
- #define D2(sz) if (wDebugLevel >= 2) (OutputDebugString(" "),OutputDebugString(sz))
- #define D3(sz) if (wDebugLevel >= 3) (OutputDebugString(" "),OutputDebugString(sz))
- #define D4(sz) if (wDebugLevel >= 4) (OutputDebugString(" "),OutputDebugString(sz))
- #else
- #define D1(sz) 0
- #define D2(sz) 0
- #define D3(sz) 0
- #define D4(sz) 0
- #endif
-