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
147 lines
2.5 KiB
//
|
|
// Driver Verifier UI
|
|
// Copyright (c) Microsoft Corporation, 1999
|
|
//
|
|
//
|
|
//
|
|
// module: VGlobal.h
|
|
// author: DMihai
|
|
// created: 11/1/00
|
|
//
|
|
// Description:
|
|
//
|
|
|
|
#ifndef __VGLOBAL_H_INCLUDED__
|
|
#define __VGLOBAL_H_INCLUDED__
|
|
|
|
#include "vsheet.h"
|
|
|
|
//
|
|
// Help file name
|
|
//
|
|
|
|
extern TCHAR g_szVerifierHelpFile[];
|
|
|
|
//
|
|
// Application name ("Driver Verifier Manager")
|
|
//
|
|
|
|
extern CString g_strAppName;
|
|
|
|
//
|
|
// Exe module handle - used for loading resources
|
|
//
|
|
|
|
extern HMODULE g_hProgramModule;
|
|
|
|
//
|
|
// GUI mode or command line mode?
|
|
//
|
|
|
|
extern BOOL g_bCommandLineMode;
|
|
|
|
//
|
|
// Brush used to fill out the background of our steps lists
|
|
//
|
|
|
|
extern HBRUSH g_hDialogColorBrush;
|
|
|
|
//
|
|
// Path to %windir%\system32
|
|
//
|
|
|
|
extern CString g_strSystemDir;
|
|
|
|
//
|
|
// Path to %windir%\system32\drivers
|
|
//
|
|
|
|
extern CString g_strDriversDir;
|
|
|
|
//
|
|
// Initial current directory
|
|
//
|
|
|
|
extern CString g_strInitialCurrentDirectory;
|
|
|
|
//
|
|
// Filled out by CryptCATAdminAcquireContext
|
|
//
|
|
|
|
extern HCATADMIN g_hCatAdmin;
|
|
|
|
//
|
|
// Highest user address - used to filter out user-mode stuff
|
|
// returned by NtQuerySystemInformation ( SystemModuleInformation )
|
|
//
|
|
|
|
extern PVOID g_pHighestUserAddress;
|
|
|
|
//
|
|
// Did we enable the debug privilege already?
|
|
//
|
|
|
|
extern BOOL g_bPrivilegeEnabled;
|
|
|
|
//
|
|
// Need to reboot ?
|
|
//
|
|
|
|
extern BOOL g_bSettingsSaved;
|
|
|
|
//
|
|
// Dummy text used to insert an item in a list control with checkboxes
|
|
//
|
|
|
|
extern TCHAR g_szVoidText[];
|
|
|
|
//
|
|
// New registry settings
|
|
//
|
|
|
|
extern CVerifierSettings g_NewVerifierSettings;
|
|
|
|
//
|
|
// Are all drivers verified? (loaded from the registry)
|
|
//
|
|
|
|
extern BOOL g_bAllDriversVerified;
|
|
|
|
//
|
|
// Drivers to be verified names (loaded from the registry)
|
|
// We have data in this array only if g_bAllDriversVerified == FALSE.
|
|
//
|
|
|
|
extern CStringArray g_astrVerifyDriverNamesRegistry;
|
|
|
|
//
|
|
// Verifier flags (loaded from the registry)
|
|
//
|
|
|
|
extern DWORD g_dwVerifierFlagsRegistry;
|
|
|
|
//
|
|
// Old disk integrity verifier settings.
|
|
//
|
|
|
|
extern CDiskDataArray g_OldDiskData;
|
|
|
|
//
|
|
// Disk verifier filter name.
|
|
//
|
|
|
|
extern TCHAR g_szFilter[];
|
|
|
|
//
|
|
// Show the disk selection page or not.
|
|
// Used to force displaying this property page even when
|
|
// no disk in g_NewVerifierSettings.m_aDiskData has the
|
|
// verifier flag turned on.
|
|
//
|
|
|
|
extern BOOL g_bShowDiskPropertyPage;
|
|
|
|
////////////////////////////////////////////////////////////////
|
|
BOOL VerifInitalizeGlobalData( VOID );
|
|
|
|
#endif //#ifndef __VGLOBAL_H_INCLUDED__
|