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.

72 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. dbgexts.h
  5. --*/
  6. #pragma warning(disable:4245)
  7. // #pragma push(warning:C4245)
  8. #include <nt.h>
  9. #include <ntrtl.h>
  10. #include <nturtl.h>
  11. #include <windows.h>
  12. #define KDEXT_64BIT
  13. #include <wdbgexts.h>
  14. #include <stdio.h>
  15. #include <stdlib.h>
  16. #include <string.h>
  17. #include <dbgeng.h>
  18. #include <windows.h>
  19. #include <stdio.h>
  20. #include <stdlib.h>
  21. #include <string.h>
  22. #define KDEXT_64BIT
  23. #include <wdbgexts.h>
  24. #include <dbgeng.h>
  25. #ifdef __cplusplus
  26. extern "C" {
  27. #endif
  28. #define INIT_API() \
  29. HRESULT Status; \
  30. if ((Status = ExtQuery(Client)) != S_OK) return Status;
  31. #define EXT_RELEASE(Unk) \
  32. ((Unk) != NULL ? ((Unk)->Release(), (Unk) = NULL) : NULL)
  33. #define EXIT_API ExtRelease
  34. // Global variables initialized by query.
  35. extern PDEBUG_CLIENT g_ExtClient;
  36. extern PDEBUG_CONTROL g_ExtControl;
  37. extern PDEBUG_SYMBOLS g_ExtSymbols;
  38. extern PDEBUG_SYMBOLS2 g_ExtSymbols2;
  39. extern PDEBUG_SYSTEM_OBJECTS g_ExtSysObjects;
  40. extern PDEBUG_SYSTEM_OBJECTS2 g_ExtSysObjects2;
  41. extern BOOL Connected;
  42. extern ULONG TargetMachine;
  43. HRESULT
  44. ExtQuery(PDEBUG_CLIENT Client);
  45. void
  46. ExtRelease(void);
  47. HRESULT
  48. NotifyOnTargetAccessible(PDEBUG_CONTROL Control);
  49. #ifdef __cplusplus
  50. }
  51. #endif