Ignore:
Timestamp:
Oct 25, 2000, 9:47:00 PM (25 years ago)
Author:
sandervl
Message:

SearchPathA fix (multiple dirs), add rename odin.ini entry for winspool.drv, extra pointer checks in Read/WriteProcessMemory

File:
1 edited

Legend:

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

    r4510 r4526  
    1 /* $Id: initsystem.cpp,v 1.21 2000-10-21 14:30:46 sandervl Exp $ */
     1/* $Id: initsystem.cpp,v 1.22 2000-10-25 19:46:59 sandervl Exp $ */
    22/*
    33 * Odin system initialization (registry, directories & environment)
     
    618618   RegCloseKey(hkey);
    619619
     620
     621//[HKEY_LOCAL_MACHINE\Software\Microsoft\OLE]
     622//# allow cross-machine calls (RPC) (default Y)
     623//"EnableDCOM"="Y"
     624//# allow incoming connections ? (def. N)
     625//"EnableRemoteConnect"="N"
     626   if(RegCreateKeyA(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\OLE",&hkey)!=ERROR_SUCCESS) {
     627    goto initreg_error;
     628   }
     629   digbuf[0] = 'Y';
     630   digbuf[1] = 0;
     631   RegSetValueExA(hkey, "EnableDCOM",0,REG_SZ, (LPBYTE)digbuf, 2);
     632   digbuf[0] = 'N';
     633   digbuf[1] = 0;
     634   RegSetValueExA(hkey, "EnableRemoteConnect",0,REG_SZ, (LPBYTE)digbuf, 2);
     635   RegCloseKey(hkey);
     636
    620637   return TRUE;
    621638
Note: See TracChangeset for help on using the changeset viewer.