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.

52 lines
821 B

  1. /*++
  2. Copyright (c) 1998-1999 Microsoft Corporation
  3. Module Name:
  4. data.h
  5. Abstract:
  6. Global data definitions for the UL.SYS Kernel Debugger
  7. Extensions.
  8. Author:
  9. Keith Moore (keithmo) 17-Jun-1998.
  10. Environment:
  11. User Mode.
  12. --*/
  13. #ifndef _KDDATA_H_
  14. #define _KDDATA_H_
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. extern EXT_API_VERSION ApiVersion;
  19. extern WINDBG_EXTENSION_APIS ExtensionApis;
  20. extern USHORT SavedMajorVersion;
  21. extern USHORT SavedMinorVersion;
  22. //
  23. // Snapshot from the extension routines.
  24. //
  25. extern HANDLE g_hCurrentProcess;
  26. extern HANDLE g_hCurrentThread;
  27. extern ULONG_PTR g_dwCurrentPc;
  28. extern ULONG g_dwProcessor;
  29. #ifdef __cplusplus
  30. }; // extern "C"
  31. #endif
  32. #endif // _KDDATA_H_