Ignore:
Timestamp:
Oct 18, 2000, 7:09:34 PM (25 years ago)
Author:
sandervl
Message:

LoadLibraryExA + memory map close fix, added new registry keys for installation, don't log guard page violation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/initsystem.cpp

    r4474 r4496  
    1 /* $Id: initsystem.cpp,v 1.18 2000-10-10 17:14:04 sandervl Exp $ */
     1/* $Id: initsystem.cpp,v 1.19 2000-10-18 17:09:32 sandervl Exp $ */
    22/*
    33 * Odin system initialization (registry, directories & environment)
     
    568568*/
    569569
     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
    570585   return TRUE;
    571586
Note: See TracChangeset for help on using the changeset viewer.