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.

127 lines
2.0 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\drivers
  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 debugprivilege already?
  59. //
  60. extern BOOL g_bPrivegeEnabled;
  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. BOOL VerifInitalizeGlobalData( VOID );
  88. #endif //#ifndef __VGLOBAL_H_INCLUDED__