You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
616 B
25 lines
616 B
//***************************************************************************
|
|
//
|
|
// debug.CPP
|
|
//
|
|
// Module: CDM Provider
|
|
//
|
|
// Purpose: Debugging routines
|
|
//
|
|
// Copyright (c) 2000 Microsoft Corporation
|
|
//
|
|
//***************************************************************************
|
|
|
|
|
|
#ifdef DBG
|
|
void __cdecl DebugOut(char *Format, ...);
|
|
#define WmipDebugPrint(_x_) { DebugOut _x_; }
|
|
|
|
#define WmipAssert(x) if (! (x) ) { \
|
|
WmipDebugPrint(("CDMPROV Assertion: "#x" at %s %d\n", __FILE__, __LINE__)); \
|
|
DebugBreak(); }
|
|
#else
|
|
#define WmipDebugPrint(x)
|
|
#define WmipAssert(x)
|
|
#endif
|
|
|