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.

54 lines
977 B

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