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.

68 lines
1.9 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1991 **/
  4. /**********************************************************************/
  5. /*
  6. help.c
  7. This module implements the "help" command of the W3 Server debugger
  8. extension DLL.
  9. FILE HISTORY:
  10. KeithMo 18-May-1993 Created.
  11. */
  12. #include "w3dbg.h"
  13. /*******************************************************************
  14. NAME: help
  15. SYNOPSIS: Implements the "help" command.
  16. ENTRY: hCurrentProcess - Handle to the current process.
  17. hCurrentThread - Handle to the current thread.
  18. dwCurrentPc - The current program counter
  19. (EIP for x86, FIR for MIPS).
  20. lpExtensionApis - Points to a structure containing
  21. pointers to the debugger functions
  22. that the command may invoke.
  23. lpArgumentString - Points to any arguments passed
  24. to the command.
  25. HISTORY:
  26. KeithMo 18-May-1993 Created.
  27. ********************************************************************/
  28. VOID help( HANDLE hCurrentProcess,
  29. HANDLE hCurrentThread,
  30. DWORD dwCurrentPc,
  31. LPVOID lpExtensionApis,
  32. LPSTR lpArgumentString )
  33. {
  34. //
  35. // Grab the debugger entrypoints.
  36. //
  37. GrabDebugApis( lpExtensionApis );
  38. //
  39. // Show the help.
  40. //
  41. DebugPrint( "W3 Server Debugger Extensions:\n" );
  42. DebugPrint( " help - Show this help\n" );
  43. DebugPrint( " user - Dump user info\n" );
  44. DebugPrint( " stats - Dump statistics\n" );
  45. return;
  46. } // help