Changeset 4496 for trunk/src/kernel32/initsystem.cpp
- Timestamp:
- Oct 18, 2000, 7:09:34 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/initsystem.cpp
r4474 r4496 1 /* $Id: initsystem.cpp,v 1.1 8 2000-10-10 17:14:04sandervl Exp $ */1 /* $Id: initsystem.cpp,v 1.19 2000-10-18 17:09:32 sandervl Exp $ */ 2 2 /* 3 3 * Odin system initialization (registry, directories & environment) … … 568 568 */ 569 569 570 //[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\FileSystem] 571 //"Win31FileSystem"=dword:00000000 572 //"NtfsDisable8dot3NameCreation"=dword:00000000 573 //"Win95TruncatedExtensions"=dword:00000001 574 if(RegCreateKeyA(HKEY_LOCAL_MACHINE,"SYSTEM\\CurrentControlSet\\Control\\FileSystem",&hkey)!=ERROR_SUCCESS) { 575 goto initreg_error; 576 } 577 val = 0x0; 578 RegSetValueExA(hkey, "Win31FileSystem",0,REG_DWORD, (LPBYTE)&val, sizeof(DWORD)); 579 val = 0x0; 580 RegSetValueExA(hkey, "NtfsDisable8dot3NameCreation",0,REG_DWORD, (LPBYTE)&val, sizeof(DWORD)); 581 val = 0x1; 582 RegSetValueExA(hkey, "Win95TruncatedExtensions",0,REG_DWORD, (LPBYTE)&val, sizeof(DWORD)); 583 RegCloseKey(hkey); 584 570 585 return TRUE; 571 586
Note:
See TracChangeset
for help on using the changeset viewer.