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

cmdatini.c File Reference

#include "cmp.h"

Go to the source code of this file.

Functions

VOID CmpInitializeRegistryNames (VOID)

Variables

UNICODE_STRING CmRegistryRootName
UNICODE_STRING CmRegistryMachineName
UNICODE_STRING CmRegistryMachineHardwareName
UNICODE_STRING CmRegistryMachineHardwareDescriptionName
UNICODE_STRING CmRegistryMachineHardwareDescriptionSystemName
UNICODE_STRING CmRegistryMachineHardwareDeviceMapName
UNICODE_STRING CmRegistryMachineHardwareResourceMapName
UNICODE_STRING CmRegistryMachineHardwareOwnerMapName
UNICODE_STRING CmRegistryMachineSystemName
UNICODE_STRING CmRegistryMachineSystemCurrentControlSet
UNICODE_STRING CmRegistryUserName
UNICODE_STRING CmRegistrySystemCloneName
UNICODE_STRING CmpSystemFileName
UNICODE_STRING CmRegistryMachineSystemCurrentControlSetEnumName
UNICODE_STRING CmRegistryMachineSystemCurrentControlSetEnumRootName
UNICODE_STRING CmRegistryMachineSystemCurrentControlSetServices
UNICODE_STRING CmRegistryMachineSystemCurrentControlSetHardwareProfilesCurrent
UNICODE_STRING CmRegistryMachineSystemCurrentControlSetControlClass
UNICODE_STRING CmSymbolicLinkValueName
PWCHAR CmpRegistryRootString
PWCHAR CmpRegistryMachineString
PWCHAR CmpRegistryMachineHardwareString
PWCHAR CmpRegistryMachineHardwareDescriptionString
PWCHAR CmpRegistryMachineHardwareDescriptionSystemString
PWCHAR CmpRegistryMachineHardwareDeviceMapString
PWCHAR CmpRegistryMachineHardwareResourceMapString
PWCHAR CmpRegistryMachineHardwareOwnerMapString
PWCHAR CmpRegistryMachineSystemString
PWCHAR CmpRegistryMachineSystemCurrentControlSetString
PWCHAR CmpRegistryUserString
PWCHAR CmpRegistrySystemCloneString
PWCHAR CmpRegistrySystemFileNameString
PWCHAR CmpRegistryMachineSystemCurrentControlSetEnumString
PWCHAR CmpRegistryMachineSystemCurrentControlSetEnumRootString
PWCHAR CmpRegistryMachineSystemCurrentControlSetServicesString
PWCHAR CmpRegistryMachineSystemCurrentControlSetHardwareProfilesCurrentString
PWCHAR CmpRegistryMachineSystemCurrentControlSetControlClassString
PWCHAR CmpRegistryMachineSystemCurrentControlSetControlSafeBootString
PWCHAR CmpRegistryMachineSystemCurrentControlSetControlSessionManagerMemoryManagementString
PWCHAR CmpRegistryMachineSystemCurrentControlSetControlBootLogString
PWCHAR CmpRegistryMachineSystemCurrentControlSetServicesEventLogString
PWCHAR CmpSymbolicLinkValueName


Function Documentation

VOID CmpInitializeRegistryNames VOID   ) 
 

Definition at line 89 of file cmdatini.c.

References CmClassName, CmClassString, CmpRegistryMachineHardwareDescriptionString, CmpRegistryMachineHardwareDescriptionSystemString, CmpRegistryMachineHardwareDeviceMapString, CmpRegistryMachineHardwareOwnerMapString, CmpRegistryMachineHardwareResourceMapString, CmpRegistryMachineHardwareString, CmpRegistryMachineString, CmpRegistryMachineSystemCurrentControlSetControlBootLogString, CmpRegistryMachineSystemCurrentControlSetControlClassString, CmpRegistryMachineSystemCurrentControlSetControlSafeBootString, CmpRegistryMachineSystemCurrentControlSetControlSessionManagerMemoryManagementString, CmpRegistryMachineSystemCurrentControlSetEnumRootString, CmpRegistryMachineSystemCurrentControlSetEnumString, CmpRegistryMachineSystemCurrentControlSetHardwareProfilesCurrentString, CmpRegistryMachineSystemCurrentControlSetServicesEventLogString, CmpRegistryMachineSystemCurrentControlSetServicesString, CmpRegistryMachineSystemCurrentControlSetString, CmpRegistryMachineSystemString, CmpRegistryRootString, CmpRegistrySystemCloneString, CmpRegistrySystemFileNameString, CmpRegistryUserString, CmpSymbolicLinkValueName, CmpSystemFileName, CmRegistryMachineHardwareDescriptionName, CmRegistryMachineHardwareDescriptionSystemName, CmRegistryMachineHardwareDeviceMapName, CmRegistryMachineHardwareName, CmRegistryMachineHardwareOwnerMapName, CmRegistryMachineHardwareResourceMapName, CmRegistryMachineName, CmRegistryMachineSystemCurrentControlSet, CmRegistryMachineSystemCurrentControlSetControlBootLog, CmRegistryMachineSystemCurrentControlSetControlClass, CmRegistryMachineSystemCurrentControlSetControlSafeBoot, CmRegistryMachineSystemCurrentControlSetControlSessionManagerMemoryManagement, CmRegistryMachineSystemCurrentControlSetEnumName, CmRegistryMachineSystemCurrentControlSetEnumRootName, CmRegistryMachineSystemCurrentControlSetHardwareProfilesCurrent, CmRegistryMachineSystemCurrentControlSetServices, CmRegistryMachineSystemCurrentControlSetServicesEventLog, CmRegistryMachineSystemName, CmRegistryRootName, CmRegistrySystemCloneName, CmRegistryUserName, CmSymbolicLinkValueName, CmTypeName, CmTypeString, MaximumClass, MaximumType, and RtlInitUnicodeString().

Referenced by CmInitSystem1().

00095 : 00096 00097 This routine creates all the Unicode strings for the various names used 00098 in and by the registry 00099 00100 Arguments: 00101 00102 None. 00103 00104 Returns: 00105 00106 None. 00107 00108 --*/ 00109 { 00110 ULONG i; 00111 00112 RtlInitUnicodeString( &CmRegistryRootName, 00113 CmpRegistryRootString ); 00114 00115 RtlInitUnicodeString( &CmRegistryMachineName, 00116 CmpRegistryMachineString ); 00117 00118 RtlInitUnicodeString( &CmRegistryMachineHardwareName, 00119 CmpRegistryMachineHardwareString ); 00120 00121 RtlInitUnicodeString( &CmRegistryMachineHardwareDescriptionName, 00122 CmpRegistryMachineHardwareDescriptionString ); 00123 00124 RtlInitUnicodeString( &CmRegistryMachineHardwareDescriptionSystemName, 00125 CmpRegistryMachineHardwareDescriptionSystemString ); 00126 00127 RtlInitUnicodeString( &CmRegistryMachineHardwareDeviceMapName, 00128 CmpRegistryMachineHardwareDeviceMapString ); 00129 00130 RtlInitUnicodeString( &CmRegistryMachineHardwareResourceMapName, 00131 CmpRegistryMachineHardwareResourceMapString ); 00132 00133 RtlInitUnicodeString( &CmRegistryMachineHardwareOwnerMapName, 00134 CmpRegistryMachineHardwareOwnerMapString ); 00135 00136 RtlInitUnicodeString( &CmRegistryMachineSystemName, 00137 CmpRegistryMachineSystemString ); 00138 00139 RtlInitUnicodeString( &CmRegistryMachineSystemCurrentControlSet, 00140 CmpRegistryMachineSystemCurrentControlSetString); 00141 00142 RtlInitUnicodeString( &CmRegistryUserName, 00143 CmpRegistryUserString ); 00144 00145 RtlInitUnicodeString( &CmRegistrySystemCloneName, 00146 CmpRegistrySystemCloneString ); 00147 00148 RtlInitUnicodeString( &CmpSystemFileName, 00149 CmpRegistrySystemFileNameString ); 00150 00151 RtlInitUnicodeString( &CmRegistryMachineSystemCurrentControlSetEnumName, 00152 CmpRegistryMachineSystemCurrentControlSetEnumString); 00153 00154 RtlInitUnicodeString( &CmRegistryMachineSystemCurrentControlSetEnumRootName, 00155 CmpRegistryMachineSystemCurrentControlSetEnumRootString); 00156 00157 RtlInitUnicodeString( &CmRegistryMachineSystemCurrentControlSetServices, 00158 CmpRegistryMachineSystemCurrentControlSetServicesString); 00159 00160 RtlInitUnicodeString( &CmRegistryMachineSystemCurrentControlSetHardwareProfilesCurrent, 00161 CmpRegistryMachineSystemCurrentControlSetHardwareProfilesCurrentString); 00162 00163 RtlInitUnicodeString( &CmRegistryMachineSystemCurrentControlSetControlClass, 00164 CmpRegistryMachineSystemCurrentControlSetControlClassString); 00165 00166 RtlInitUnicodeString( &CmRegistryMachineSystemCurrentControlSetControlSafeBoot, 00167 CmpRegistryMachineSystemCurrentControlSetControlSafeBootString); 00168 00169 RtlInitUnicodeString( &CmRegistryMachineSystemCurrentControlSetControlSessionManagerMemoryManagement, 00170 CmpRegistryMachineSystemCurrentControlSetControlSessionManagerMemoryManagementString); 00171 00172 RtlInitUnicodeString( &CmRegistryMachineSystemCurrentControlSetControlBootLog, 00173 CmpRegistryMachineSystemCurrentControlSetControlBootLogString); 00174 00175 RtlInitUnicodeString( &CmRegistryMachineSystemCurrentControlSetServicesEventLog, 00176 CmpRegistryMachineSystemCurrentControlSetServicesEventLogString); 00177 00178 RtlInitUnicodeString( &CmSymbolicLinkValueName, 00179 CmpSymbolicLinkValueName); 00180 00181 #ifdef _WANT_MACHINE_IDENTIFICATION 00182 RtlInitUnicodeString( &CmRegistryMachineSystemCurrentControlSetControlBiosInfo, 00183 CmpRegistryMachineSystemCurrentControlSetControlBiosInfoString); 00184 #endif 00185 00186 // 00187 // Initialize the type names for the hardware tree. 00188 // 00189 00190 for (i = 0; i <= MaximumType; i++) { 00191 00192 RtlInitUnicodeString( &(CmTypeName[i]), 00193 CmTypeString[i] ); 00194 00195 } 00196 00197 // 00198 // Initialize the class names for the hardware tree. 00199 // 00200 00201 for (i = 0; i <= MaximumClass; i++) { 00202 00203 RtlInitUnicodeString( &(CmClassName[i]), 00204 CmClassString[i] ); 00205 00206 } 00207 00208 return; 00209 } }


Variable Documentation

PWCHAR CmpRegistryMachineHardwareDescriptionString
 

Definition at line 60 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpRegistryMachineHardwareDescriptionSystemString
 

Definition at line 61 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpRegistryMachineHardwareDeviceMapString
 

Definition at line 62 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpRegistryMachineHardwareOwnerMapString
 

Definition at line 64 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpRegistryMachineHardwareResourceMapString
 

Definition at line 63 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpRegistryMachineHardwareString
 

Definition at line 59 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpRegistryMachineString
 

Definition at line 58 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpRegistryMachineSystemCurrentControlSetControlBootLogString
 

Definition at line 78 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpRegistryMachineSystemCurrentControlSetControlClassString
 

Definition at line 74 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpRegistryMachineSystemCurrentControlSetControlSafeBootString
 

Definition at line 75 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpRegistryMachineSystemCurrentControlSetControlSessionManagerMemoryManagementString
 

Definition at line 76 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpRegistryMachineSystemCurrentControlSetEnumRootString
 

Definition at line 71 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpRegistryMachineSystemCurrentControlSetEnumString
 

Definition at line 70 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpRegistryMachineSystemCurrentControlSetHardwareProfilesCurrentString
 

Definition at line 73 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpRegistryMachineSystemCurrentControlSetServicesEventLogString
 

Definition at line 79 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpRegistryMachineSystemCurrentControlSetServicesString
 

Definition at line 72 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpRegistryMachineSystemCurrentControlSetString
 

Definition at line 66 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpRegistryMachineSystemString
 

Definition at line 65 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpRegistryRootString
 

Definition at line 57 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpRegistrySystemCloneString
 

Definition at line 68 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpRegistrySystemFileNameString
 

Definition at line 69 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpRegistryUserString
 

Definition at line 67 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

PWCHAR CmpSymbolicLinkValueName
 

Definition at line 80 of file cmdatini.c.

Referenced by CmpInitializeRegistryNames().

UNICODE_STRING CmpSystemFileName
 

Definition at line 45 of file cmdatini.c.

UNICODE_STRING CmRegistryMachineHardwareDescriptionName
 

Definition at line 36 of file cmdatini.c.

UNICODE_STRING CmRegistryMachineHardwareDescriptionSystemName
 

Definition at line 37 of file cmdatini.c.

UNICODE_STRING CmRegistryMachineHardwareDeviceMapName
 

Definition at line 38 of file cmdatini.c.

UNICODE_STRING CmRegistryMachineHardwareName
 

Definition at line 35 of file cmdatini.c.

UNICODE_STRING CmRegistryMachineHardwareOwnerMapName
 

Definition at line 40 of file cmdatini.c.

UNICODE_STRING CmRegistryMachineHardwareResourceMapName
 

Definition at line 39 of file cmdatini.c.

UNICODE_STRING CmRegistryMachineName
 

Definition at line 34 of file cmdatini.c.

UNICODE_STRING CmRegistryMachineSystemCurrentControlSet
 

Definition at line 42 of file cmdatini.c.

UNICODE_STRING CmRegistryMachineSystemCurrentControlSetControlClass
 

Definition at line 50 of file cmdatini.c.

UNICODE_STRING CmRegistryMachineSystemCurrentControlSetEnumName
 

Definition at line 46 of file cmdatini.c.

UNICODE_STRING CmRegistryMachineSystemCurrentControlSetEnumRootName
 

Definition at line 47 of file cmdatini.c.

UNICODE_STRING CmRegistryMachineSystemCurrentControlSetHardwareProfilesCurrent
 

Definition at line 49 of file cmdatini.c.

UNICODE_STRING CmRegistryMachineSystemCurrentControlSetServices
 

Definition at line 48 of file cmdatini.c.

UNICODE_STRING CmRegistryMachineSystemName
 

Definition at line 41 of file cmdatini.c.

UNICODE_STRING CmRegistryRootName
 

Definition at line 33 of file cmdatini.c.

UNICODE_STRING CmRegistrySystemCloneName
 

Definition at line 44 of file cmdatini.c.

UNICODE_STRING CmRegistryUserName
 

Definition at line 43 of file cmdatini.c.

UNICODE_STRING CmSymbolicLinkValueName
 

Definition at line 51 of file cmdatini.c.


Generated on Sat May 15 19:43:07 2004 for test by doxygen 1.3.7