windows-nt/Source/XPSP1/NT/net/tcpip/commands/common2/debug.c

25 lines
532 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
// Name: Mohsin Ahmed
// Email: MohsinA@microsoft.com
// Date: Mon Nov 04 13:53:46 1996
// File: s:/tcpcmd/common2/debug.c
// Synopsis: Win95 Woes, don't have ntdll.dll on win95.
#include <windows.h>
#define MAX_DEBUG_OUTPUT 1024
void DbgPrint( char * format, ... )
{
va_list args;
char out[MAX_DEBUG_OUTPUT];
int cch=0;
// cch = wsprintf( out, MODULE_NAME ":" );
va_start( args, format );
wvsprintf( out + cch, format, args );
va_end( args );
OutputDebugString( out );
}