Leaked source code of windows server 2003
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.
 
 
 
 
 
 

70 lines
901 B

/*++
Copyright (c) 1999 Microsoft Corporation
Module Name:
debug.c
Abstract:
This module provides debugging support.
Author:
Neil Sandlin (neilsa) 26-Apr-99
Revision History:
--*/
#include "pch.h"
#if DBG
ULONG MemCardDebugLevel = 1;
VOID
MemCardDebugPrint(
ULONG DebugMask,
PCCHAR DebugMessage,
...
)
/*++
Routine Description:
Debug print for the PCMCIA enabler.
Arguments:
Check the mask value to see if the debug message is requested.
Return Value:
None
--*/
{
va_list ap;
char buffer[256];
va_start(ap, DebugMessage);
if (DebugMask & MemCardDebugLevel) {
vsprintf(buffer, DebugMessage, ap);
DbgPrint(buffer);
}
va_end(ap);
} // end MemcardDebugPrint()
#endif