windows-nt/Source/XPSP1/NT/multimedia/opengl/mcd/client/debug.c
2020-09-26 16:20:57 +08:00

31 lines
369 B
C

#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();
}