File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -221,16 +221,16 @@ static HKEY create_classes_root_hkey(DWORD access)
221221{
222222 HKEY hkey , ret = 0 ;
223223 OBJECT_ATTRIBUTES attr ;
224- #ifdef __REACTOS__
225- UNICODE_STRING name = RTL_CONSTANT_STRING (L"\\REGISTRY\\Machine\\Software\\Classes" );
226- #else
227224 UNICODE_STRING name = RTL_CONSTANT_STRING (L"\\Registry\\Machine\\Software\\Classes" );
228- #endif
229225
230226 attr .Length = sizeof (attr );
231227 attr .RootDirectory = 0 ;
232228 attr .ObjectName = & name ;
229+ #ifdef __REACTOS__
230+ attr .Attributes = OBJ_CASE_INSENSITIVE ;
231+ #else
233232 attr .Attributes = 0 ;
233+ #endif
234234 attr .SecurityDescriptor = NULL ;
235235 attr .SecurityQualityOfService = NULL ;
236236
Original file line number Diff line number Diff line change @@ -255,16 +255,16 @@ static HKEY create_classes_root_hkey(DWORD access)
255255{
256256 HKEY hkey , ret = 0 ;
257257 OBJECT_ATTRIBUTES attr ;
258- #ifdef __REACTOS__
259- UNICODE_STRING name = RTL_CONSTANT_STRING (L"\\REGISTRY\\Machine\\Software\\Classes" );
260- #else
261258 UNICODE_STRING name = RTL_CONSTANT_STRING (L"\\Registry\\Machine\\Software\\Classes" );
262- #endif
263259
264260 attr .Length = sizeof (attr );
265261 attr .RootDirectory = 0 ;
266262 attr .ObjectName = & name ;
263+ #ifdef __REACTOS__
264+ attr .Attributes = OBJ_CASE_INSENSITIVE ;
265+ #else
267266 attr .Attributes = 0 ;
267+ #endif
268268 attr .SecurityDescriptor = NULL ;
269269 attr .SecurityQualityOfService = NULL ;
270270 if (create_key ( & hkey , access , & attr )) return 0 ;
You can’t perform that action at this time.
0 commit comments