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.

55 lines
1.2 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1992 - 1999
  3. Module Name:
  4. help.c
  5. Abstract:
  6. WinDbg Extension Api for interpretting redbook debugging structures
  7. Author:
  8. Henry Gabryjelski (henrygab) 21-Sep-1998
  9. Environment:
  10. User Mode.
  11. Revision History:
  12. --*/
  13. #include "pch.h"
  14. typedef struct {
  15. char *extname;
  16. char *extdesc;
  17. } exthelp;
  18. exthelp extensions[] = {
  19. {"------------", "----------------------------------------------"},
  20. {"help" , "displays this help -- all commands take devobj"},
  21. {"ext" , "dumps the redbook device extension" },
  22. {"silence" , "toggles sending only silent buffers to ks" },
  23. {"toc" , "dumps a CDROM_TOC *** takes TOC pointer *** " },
  24. {"wmiperfclear", "clears the wmi performance counters" },
  25. {"------------", "----------------------------------------------"},
  26. {NULL, NULL}
  27. };
  28. DECLARE_API(help)
  29. {
  30. int i = 0;
  31. dprintf("\nRedbook Debugger Extension\n");
  32. while(extensions[i].extname != NULL) {
  33. dprintf("\t%-12s - \t%s\n", extensions[i].extname, extensions[i].extdesc);
  34. i++;
  35. }
  36. dprintf("\n");
  37. return;
  38. }