Leaked source code of windows server 2003
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.

61 lines
1.6 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1992 - 1999
  3. Module Name:
  4. help.c
  5. Abstract:
  6. WinDbg Extension Api for interpretting AIC78XX debugging structures
  7. Author:
  8. Peter Wieland (peterwie) 16-Oct-1995
  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. {"help", "displays this message"},
  20. {"srbdata", "dumps the specified SRB_DATA tracking block"},
  21. {"", ""},
  22. {"The following take either the device object or device extension", ""},
  23. {"scsiext", "dumps the specified scsiport extension"},
  24. {"classext", "dumps the specified classpnp extension"},
  25. {"", ""},
  26. {"Commands for partition tables", ""},
  27. {"layout", "dumps the drive layout at the the specified address"},
  28. {"layoutex", "dumps the extended drive layout at the specified address"},
  29. {"part", "dumps the partition at the specified address"},
  30. {"partex", "dumps the extended partition at the specified address"},
  31. {NULL, NULL}};
  32. DECLARE_API( help )
  33. {
  34. int i = 0;
  35. dprintf("\nSCSIPORT Debugger Extension\n");
  36. while(extensions[i].extname != NULL) {
  37. dprintf("\t%10s - \t%s\n",
  38. extensions[i].extname,
  39. extensions[i].extdesc);
  40. i++;
  41. }
  42. dprintf("\n");
  43. return S_OK;
  44. }