threads.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /*++
  2. Copyright (c) 2012 Minoca Corp. All Rights Reserved
  3. Module Name:
  4. threads.h
  5. Abstract:
  6. This header contains definitions for threads related debugger extensions.
  7. Author:
  8. Evan Green 4-Oct-2012
  9. --*/
  10. //
  11. // ------------------------------------------------------------------- Includes
  12. //
  13. //
  14. // ---------------------------------------------------------------- Definitions
  15. //
  16. //
  17. // ------------------------------------------------------ Data Type Definitions
  18. //
  19. //
  20. // -------------------------------------------------------------------- Globals
  21. //
  22. //
  23. // -------------------------------------------------------- Function Prototypes
  24. //
  25. INT
  26. ExtThread (
  27. PDEBUGGER_CONTEXT Context,
  28. PSTR Command,
  29. ULONG ArgumentCount,
  30. PSTR *ArgumentValues
  31. );
  32. /*++
  33. Routine Description:
  34. This routine prints out the contents of a Memory Descriptor List. Arguments
  35. to the extension are:
  36. Address - Supplies the address of the MDL.
  37. Arguments:
  38. Context - Supplies a pointer to the debugger applicaton context, which is
  39. an argument to most of the API functions.
  40. Command - Supplies the subcommand entered. This parameter is unused.
  41. ArgumentCount - Supplies the number of arguments in the ArgumentValues
  42. array.
  43. ArgumentValues - Supplies the values of each argument. This memory will be
  44. reused when the function returns, so extensions must not touch this
  45. memory after returning from this call.
  46. Return Value:
  47. 0 if the debugger extension command was successful.
  48. Returns an error code if a failure occurred along the way.
  49. --*/