1
0

memory.h 1.6 KB

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