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.

48 lines
910 B

  1. /* demmsg.c - debug messages handling for DEM
  2. *
  3. * Modification History
  4. *
  5. * Sudeepb 31-Mar-1991 Created
  6. */
  7. #if DBG
  8. #include <stdio.h>
  9. #include "demmsg.h"
  10. #include "dem.h"
  11. PCHAR aMsg [] = {
  12. "DOS Location Not Found. Using Default.\n",
  13. "Read On NTDOS.SYS Failed.\n",
  14. "Open On NTDOS.SYS Failed.\n",
  15. "EAs Not Supported\n",
  16. "Letter mismatch in Set_Default_Drive\n",
  17. "Volume ID support is missing\n",
  18. "Invalid Date Time Format for NT\n",
  19. "DTA has an Invalid Find Handle for FINDNEXT\n",
  20. "Unexpected failure to get file information\n",
  21. "File Size is too big for DOS\n"
  22. };
  23. /* demPrintMsg - Print Debug Message
  24. *
  25. * Entry - iMsg (Message Index; See demmsg.h)
  26. *
  27. * Exit - None
  28. *
  29. */
  30. VOID demPrintMsg (ULONG iMsg)
  31. {
  32. if (fShowSVCMsg){
  33. sprintf(demDebugBuffer,aMsg[iMsg]);
  34. OutputDebugStringOem(demDebugBuffer);
  35. }
  36. iMsg;
  37. return;
  38. }
  39. #endif