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.
|
|
/*++
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 SffDiskDebugLevel = SFFDISKFAIL | SFFDISKWARN; // SFFDISKINFO | SFFDISKSHOW;
// SFFDISKIOCTL;
VOID SffDiskDebugPrint( ULONG DebugMask, PCCHAR DebugMessage, ... )
/*++
Routine Description:
Debug print for SFFDISK.
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 & SffDiskDebugLevel) { vsprintf(buffer, DebugMessage, ap); DbgPrint(buffer); }
va_end(ap); }
#endif
|