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

pe loader fixes, add system32\drivers dir during installation, add build date + time during kernel32 load

File:
1 edited

Legend:

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

    r4407 r4474  
    1 /* $Id: initsystem.cpp,v 1.17 2000-10-03 17:28:30 sandervl Exp $ */
     1/* $Id: initsystem.cpp,v 1.18 2000-10-10 17:14:04 sandervl Exp $ */
    22/*
    33 * Odin system initialization (registry, directories & environment)
     
    77 *
    88 * InitSystemAndRegistry creates:
     9 *      - SYSTEMDIR\drivers
    910 *      - WINDOWSDIR\SYSTEM
    1011 *      - WINDOWSDIR\AppData
     
    192193//   if(RegOpenKeyA(HKEY_CURRENT_USER, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders", &hkey) != ERROR_SUCCESS)
    193194//   {
     195        //system32\drivers dir
     196        strcpy(shellpath, InternalGetSystemDirectoryA());
     197        strcat(shellpath, "\\Drivers");
     198        CreateDirectoryA(shellpath, NULL);
     199
    194200        //SYSTEM dir
    195201        strcpy(shellpath, InternalGetWindowsDirectoryA());
Note: See TracChangeset for help on using the changeset viewer.