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.

79 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1999-2001 Microsoft Corporation
  3. Module Name:
  4. debugp.h
  5. Abstract:
  6. This module contains definitions private to the debug support.
  7. These declarations are placed in a separate .H file to make it
  8. easier to access them from within the kernel debugger extension DLL.
  9. Author:
  10. Keith Moore (keithmo) 07-Apr-1999
  11. Revision History:
  12. --*/
  13. #ifndef _DEBUGP_H_
  14. #define _DEBUGP_H_
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. //
  19. // Per-thread data.
  20. //
  21. typedef struct _UL_DEBUG_THREAD_DATA
  22. {
  23. //
  24. // Links onto the global list.
  25. //
  26. LIST_ENTRY ThreadDataListEntry;
  27. //
  28. // The thread.
  29. //
  30. PETHREAD pThread;
  31. //
  32. // Reference count.
  33. //
  34. LONG ReferenceCount;
  35. //
  36. // Total number of resources held.
  37. //
  38. LONG ResourceCount;
  39. //
  40. // If we call another driver they may call our
  41. // completion routine in-line. Remember that
  42. // we are inside an external call to avoid
  43. // getting confused.
  44. //
  45. LONG ExternalCallCount;
  46. } UL_DEBUG_THREAD_DATA, *PUL_DEBUG_THREAD_DATA;
  47. #ifdef __cplusplus
  48. }; // extern "C"
  49. #endif
  50. #endif // _DEBUGP_H_