Windows NT 4.0 source code leak
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.

81 lines
1.9 KiB

4 years ago
  1. /*++
  2. Copyright (c) 1992 Microsoft Corporation
  3. Module Name:
  4. help.c
  5. Abstract:
  6. Help for AFD.SYS Kernel Debugger Extensions.
  7. Author:
  8. Keith Moore (keithmo) 19-Apr-1995
  9. Environment:
  10. User Mode.
  11. Revision History:
  12. --*/
  13. #include "afdkdp.h"
  14. #pragma hdrstop
  15. //
  16. // Public functions.
  17. //
  18. DECLARE_API( help )
  19. /*++
  20. Routine Description:
  21. Displays help for the AFD.SYS Kernel Debugger Extensions.
  22. Arguments:
  23. None.
  24. Return Value:
  25. None.
  26. --*/
  27. {
  28. dprintf( "? - Displays this list\n" );
  29. dprintf( "help - Displays this list\n" );
  30. dprintf( "endp [address...] - Dumps endpoints\n" );
  31. dprintf( "port port [port...] - Dumps endpoints bound to specific ports\n" );
  32. dprintf( "state state [state...] - Dumps endpoints in specific states\n" );
  33. dprintf( " valid states are:\n" );
  34. dprintf( " 0 - Open\n" );
  35. dprintf( " 1 - Bound\n" );
  36. dprintf( " 2 - Listening\n" );
  37. dprintf( " 3 - Connected\n" );
  38. dprintf( " 4 - Cleanup\n" );
  39. dprintf( " 5 - Closing\n" );
  40. dprintf( " 6 - TransmitClosing\n" );
  41. dprintf( " 7 - Invalid\n" );
  42. dprintf( "proc address [address...] - Dumps endpoints owned by a process\n" );
  43. dprintf( "conn address [address...] - Dumps connections\n" );
  44. dprintf( "addr address [address...] - Dumps transport addresses\n" );
  45. dprintf( "cref address - Dumps connection reference debug info\n" );
  46. dprintf( "eref address - Dumps endpoint reference debug info\n" );
  47. #if GLOBAL_REFERENCE_DEBUG
  48. dprintf( "gref - Dumps global reference debug info\n" );
  49. #endif
  50. dprintf( "tranfile address - Dumps TransmitFile info\n" );
  51. dprintf( "buffer address - Dumps buffer structure\n" );
  52. dprintf( "stats - Dumps debug-only statistics\n" );
  53. } // help