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.

51 lines
997 B

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1992 - 1999
  3. Module Name:
  4. help.c
  5. Abstract:
  6. i386kd Extension Api for interpretting ATAPI structures
  7. Author:
  8. Environment:
  9. User Mode.
  10. Revision History:
  11. --*/
  12. #include "pch.h"
  13. typedef struct {
  14. char *extname;
  15. char *extdesc;
  16. } exthelp;
  17. exthelp extensions[] = {
  18. {"help", "displays this message"},
  19. {"fdoext", "dumps the specified FDO extension"},
  20. {"pdoext", "dumps the specified PDO extension"},
  21. {"miniext", "dumps the specified miniport extension"},
  22. {"findirp", "helps find irp queued in atapi"},
  23. {NULL, NULL}
  24. };
  25. DECLARE_API( help )
  26. {
  27. int i = 0;
  28. dprintf("\nATAPI Debugger Extension\n");
  29. while(extensions[i].extname != NULL) {
  30. dprintf("\t%s - \t%s\n", extensions[i].extname, extensions[i].extdesc);
  31. i++;
  32. }
  33. dprintf("\n");
  34. return S_OK;
  35. }