Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

cmdat2.c

Go to the documentation of this file.
00001 /*++ 00002 00003 Copyright (c) 1990, 1991 Microsoft Corporation 00004 00005 00006 Module Name: 00007 00008 cmdat2.c 00009 00010 Abstract: 00011 00012 This module contains data strings that describes the registry space 00013 and that are exported to the rest of the system. 00014 00015 Author: 00016 00017 Andre Vachon (andreva) 08-Apr-1992 00018 00019 00020 Environment: 00021 00022 Kernel mode. 00023 00024 Revision History: 00025 00026 --*/ 00027 00028 #include "cmp.h" 00029 00030 // 00031 // ***** PAGE ***** 00032 // 00033 00034 #ifdef ALLOC_DATA_PRAGMA 00035 #pragma data_seg("PAGE") 00036 #endif 00037 00038 // 00039 // control values/overrides read from registry 00040 // 00041 ULONG CmRegistrySizeLimit = { 0 }; 00042 ULONG CmRegistrySizeLimitLength = 4; 00043 ULONG CmRegistrySizeLimitType = { 0 }; 00044 00045 // 00046 // Maximum number of bytes of Global Quota the registry may use. 00047 // Set to largest positive number for use in boot. Will be set down 00048 // based on pool and explicit registry values. 00049 // 00050 ULONG CmpGlobalQuotaAllowed = CM_WRAP_LIMIT; 00051 ULONG CmpGlobalQuota = CM_WRAP_LIMIT; 00052 ULONG CmpGlobalQuotaWarning = CM_WRAP_LIMIT; 00053 BOOLEAN CmpQuotaWarningPopupDisplayed = FALSE; 00054 00055 // 00056 // the "disk full" popup has already been displayed 00057 // 00058 BOOLEAN CmpDiskFullWorkerPopupDisplayed = FALSE; 00059 BOOLEAN CmpCannotWriteConfiguration = FALSE; 00060 // 00061 // GQ actually in use 00062 // 00063 ULONG CmpGlobalQuotaUsed = 0; 00064 00065 // 00066 // State flag to remember when to turn it on 00067 // 00068 BOOLEAN CmpProfileLoaded = FALSE; 00069 00070 PUCHAR CmpStashBuffer = NULL; 00071 ULONG CmpStashBufferSize = 0; 00072 00073 // 00074 // Shutdown control 00075 // 00076 BOOLEAN HvShutdownComplete = FALSE; // Set to true after shutdown 00077 // to disable any further I/O 00078 00079 PCM_KEY_CONTROL_BLOCK CmpKeyControlBlockRoot = NULL; 00080 00081 struct { 00082 PHHIVE Hive; 00083 ULONG Status; 00084 } CmCheckRegistryDebug = { 0 }; 00085 00086 // 00087 // The last I/O error status code 00088 // 00089 struct { 00090 ULONG Action; 00091 HANDLE Handle; 00092 NTSTATUS Status; 00093 } CmRegistryIODebug = { 0 }; 00094 00095 // 00096 // globals private to check code 00097 // 00098 PHHIVE CmpCheckHive = { 0 }; 00099 BOOLEAN CmpCheckClean = { 0 }; 00100 00101 struct { 00102 PHHIVE Hive; 00103 ULONG Status; 00104 } CmpCheckRegistry2Debug = { 0 }; 00105 00106 struct { 00107 PHHIVE Hive; 00108 ULONG Status; 00109 HCELL_INDEX Cell; 00110 PCELL_DATA CellPoint; 00111 PVOID RootPoint; 00112 ULONG Index; 00113 } CmpCheckKeyDebug = { 0 }; 00114 00115 struct { 00116 PHHIVE Hive; 00117 ULONG Status; 00118 PCELL_DATA List; 00119 ULONG Index; 00120 HCELL_INDEX Cell; 00121 PCELL_DATA CellPoint; 00122 } CmpCheckValueListDebug = { 0 }; 00123 00124 ULONG CmpUsedStorage = { 0 }; 00125 00126 // hivechek.c 00127 struct { 00128 PHHIVE Hive; 00129 ULONG Status; 00130 ULONG Space; 00131 HCELL_INDEX MapPoint; 00132 PHBIN BinPoint; 00133 } HvCheckHiveDebug = { 0 }; 00134 00135 struct { 00136 PHBIN Bin; 00137 ULONG Status; 00138 PHCELL CellPoint; 00139 } HvCheckBinDebug = { 0 }; 00140 00141 #ifdef ALLOC_DATA_PRAGMA 00142 #pragma data_seg() 00143 #endif

Generated on Sat May 15 19:39:26 2004 for test by doxygen 1.3.7