Leaked source code of windows server 2003
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.

63 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 1990 Microsoft Corporation
  3. Module Name:
  4. rdpdrkd.h
  5. Abstract:
  6. Redirector Kernel Debugger extension
  7. Author:
  8. Balan Sethu Raman (SethuR) 11-May-1994
  9. Revision History:
  10. 11-Nov-1994 SethuR Created
  11. --*/
  12. #ifndef _RDPDRKD_H_
  13. #define _RDPDRKD_H_
  14. typedef enum _FOLLOWON_HELPER_RETURNS {
  15. FOLLOWONHELPER_CALLTHRU,
  16. FOLLOWONHELPER_DUMP,
  17. FOLLOWONHELPER_ERROR,
  18. FOLLOWONHELPER_DONE
  19. } FOLLOWON_HELPER_RETURNS;
  20. typedef struct _PERSISTENT_RDPDRKD_INFO {
  21. DWORD OpenCount;
  22. ULONG_PTR LastAddressDumped[100];
  23. ULONG IdOfLastDump;
  24. ULONG IndexOfLastDump;
  25. BYTE StructDumpBuffer[2048];
  26. } PERSISTENT_RDPDRKD_INFO, *PPERSISTENT_RDPDRKD_INFO;
  27. PPERSISTENT_RDPDRKD_INFO LocatePersistentInfoFromView ();
  28. VOID
  29. FreePersistentInfoView (
  30. PPERSISTENT_RDPDRKD_INFO p
  31. );
  32. typedef
  33. FOLLOWON_HELPER_RETURNS
  34. (NTAPI *PFOLLOWON_HELPER_ROUTINE) (
  35. IN OUT PPERSISTENT_RDPDRKD_INFO p,
  36. OUT PBYTE Name,
  37. OUT PBYTE Buffer2
  38. );
  39. #define DECLARE_FOLLOWON_HELPER_CALLEE(s) \
  40. FOLLOWON_HELPER_RETURNS s ( \
  41. IN OUT PPERSISTENT_RDPDRKD_INFO p, \
  42. OUT PBYTE Name, \
  43. OUT PBYTE Buffer2 \
  44. )
  45. #endif // _RDPDRKD_H_