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.

147 lines
2.5 KiB

  1. //
  2. // Driver Verifier UI
  3. // Copyright (c) Microsoft Corporation, 1999
  4. //
  5. //
  6. //
  7. // module: VGlobal.h
  8. // author: DMihai
  9. // created: 11/1/00
  10. //
  11. // Description:
  12. //
  13. #ifndef __VGLOBAL_H_INCLUDED__
  14. #define __VGLOBAL_H_INCLUDED__
  15. #include "vsheet.h"
  16. //
  17. // Help file name
  18. //
  19. extern TCHAR g_szVerifierHelpFile[];
  20. //
  21. // Application name ("Driver Verifier Manager")
  22. //
  23. extern CString g_strAppName;
  24. //
  25. // Exe module handle - used for loading resources
  26. //
  27. extern HMODULE g_hProgramModule;
  28. //
  29. // GUI mode or command line mode?
  30. //
  31. extern BOOL g_bCommandLineMode;
  32. //
  33. // Brush used to fill out the background of our steps lists
  34. //
  35. extern HBRUSH g_hDialogColorBrush;
  36. //
  37. // Path to %windir%\system32
  38. //
  39. extern CString g_strSystemDir;
  40. //
  41. // Path to %windir%\system32\drivers
  42. //
  43. extern CString g_strDriversDir;
  44. //
  45. // Initial current directory
  46. //
  47. extern CString g_strInitialCurrentDirectory;
  48. //
  49. // Filled out by CryptCATAdminAcquireContext
  50. //
  51. extern HCATADMIN g_hCatAdmin;
  52. //
  53. // Highest user address - used to filter out user-mode stuff
  54. // returned by NtQuerySystemInformation ( SystemModuleInformation )
  55. //
  56. extern PVOID g_pHighestUserAddress;
  57. //
  58. // Did we enable the debug privilege already?
  59. //
  60. extern BOOL g_bPrivilegeEnabled;
  61. //
  62. // Need to reboot ?
  63. //
  64. extern BOOL g_bSettingsSaved;
  65. //
  66. // Dummy text used to insert an item in a list control with checkboxes
  67. //
  68. extern TCHAR g_szVoidText[];
  69. //
  70. // New registry settings
  71. //
  72. extern CVerifierSettings g_NewVerifierSettings;
  73. //
  74. // Are all drivers verified? (loaded from the registry)
  75. //
  76. extern BOOL g_bAllDriversVerified;
  77. //
  78. // Drivers to be verified names (loaded from the registry)
  79. // We have data in this array only if g_bAllDriversVerified == FALSE.
  80. //
  81. extern CStringArray g_astrVerifyDriverNamesRegistry;
  82. //
  83. // Verifier flags (loaded from the registry)
  84. //
  85. extern DWORD g_dwVerifierFlagsRegistry;
  86. //
  87. // Old disk integrity verifier settings.
  88. //
  89. extern CDiskDataArray g_OldDiskData;
  90. //
  91. // Disk verifier filter name.
  92. //
  93. extern TCHAR g_szFilter[];
  94. //
  95. // Show the disk selection page or not.
  96. // Used to force displaying this property page even when
  97. // no disk in g_NewVerifierSettings.m_aDiskData has the
  98. // verifier flag turned on.
  99. //
  100. extern BOOL g_bShowDiskPropertyPage;
  101. ////////////////////////////////////////////////////////////////
  102. BOOL VerifInitalizeGlobalData( VOID );
  103. #endif //#ifndef __VGLOBAL_H_INCLUDED__