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.

60 lines
1.6 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1999 - 2000
  6. //
  7. // File: Globals.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #if !defined(GLOBALS_H__D0C1E0B9_9F50_11D2_83A2_000000000000__INCLUDED_)
  11. #define GLOBALS_H__D0C1E0B9_9F50_11D2_83A2_000000000000__INCLUDED_
  12. #if _MSC_VER > 1000
  13. #pragma once
  14. #endif // _MSC_VER > 1000
  15. #ifndef NO_STRICT
  16. #ifndef STRICT
  17. #define STRICT 1
  18. #endif
  19. #endif /* NO_STRICT */
  20. //
  21. // Speculating as to what the _VC_VER value should be... should this be _MSC_VER
  22. //
  23. #ifndef _VC_VER_INC
  24. #define _VC_VER_INC
  25. #ifndef _VC_VER
  26. #define _VC_VER 620
  27. #endif
  28. #endif
  29. #pragma warning (push)
  30. #pragma warning ( disable : 4100 4201 4710)
  31. #include <dbgeng.h>
  32. #pragma warning (pop)
  33. // Implement a few objects as globals to greatly simplify access to the objects...
  34. // When we multi-thread ourselves with different user-contexts... we'll likely
  35. // need to use _cdecl (thread) to provide per-user/thread global contexts...
  36. #include "DelayLoad.h"
  37. #include "ProgramOptions.h"
  38. enum CollectionTypes { Processes, Process, Modules, KernelModeDrivers };
  39. struct CollectionStruct
  40. {
  41. LPTSTR tszLocalContext; // When collected locally, what should we say...
  42. LPTSTR tszCSVContext; // When collected from a CSV file, what should we say...
  43. LPTSTR tszCSVLabel; // CSV file label, what should we look for...
  44. LPTSTR tszCSVColumnHeaders; // CSV file headers...
  45. };
  46. extern CDelayLoad * g_lpDelayLoad;
  47. extern CProgramOptions * g_lpProgramOptions;
  48. // Global String Structure
  49. extern CollectionStruct g_tszCollectionArray[];
  50. #endif