Windows2003-3790/multimedia/opengl/mcd/client/debug.c

31 lines
399 B
C
Raw Normal View History

2001-01-01 00:00:00 +01:00
#include <windows.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
ULONG
DbgPrint(
PCH DebugMessage,
...
)
{
va_list ap;
char buffer[256];
va_start(ap, DebugMessage);
vsprintf(buffer, DebugMessage, ap);
OutputDebugStringA(buffer);
va_end(ap);
return(0);
}
VOID NTAPI
DbgBreakPoint(VOID)
{
DebugBreak();
}