Source code of Windows XP (NT5)
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.

24 lines
532 B

  1. // Name: Mohsin Ahmed
  2. // Email: [email protected]
  3. // Date: Mon Nov 04 13:53:46 1996
  4. // File: s:/tcpcmd/common2/debug.c
  5. // Synopsis: Win95 Woes, don't have ntdll.dll on win95.
  6. #include <windows.h>
  7. #define MAX_DEBUG_OUTPUT 1024
  8. void DbgPrint( char * format, ... )
  9. {
  10. va_list args;
  11. char out[MAX_DEBUG_OUTPUT];
  12. int cch=0;
  13. // cch = wsprintf( out, MODULE_NAME ":" );
  14. va_start( args, format );
  15. wvsprintf( out + cch, format, args );
  16. va_end( args );
  17. OutputDebugString( out );
  18. }