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.

50 lines
890 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. {NULL, NULL}
  23. };
  24. DECLARE_API( help )
  25. {
  26. int i = 0;
  27. dprintf("\nATAPI Debugger Extension\n");
  28. while(extensions[i].extname != NULL) {
  29. dprintf("\t%s - \t%s\n", extensions[i].extname, extensions[i].extdesc);
  30. i++;
  31. }
  32. dprintf("\n");
  33. return S_OK;
  34. }