Ignore:
Timestamp:
Feb 6, 2002, 5:33:40 PM (24 years ago)
Author:
sandervl
Message:

SetWin32TIB update + force change to win32 FS selector for calling PE image entrypoints

File:
1 edited

Legend:

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

    r7794 r7811  
    1 /* $Id: wprocess.cpp,v 1.142 2002-02-02 14:19:01 sandervl Exp $ */
     1/* $Id: wprocess.cpp,v 1.143 2002-02-06 16:33:40 sandervl Exp $ */
    22
    33/*
     
    372372}
    373373/******************************************************************************/
     374//Switch to WIN32 TIB (FS selector)
     375//NOTE: This is not done for Odin32 applications (LX), unless
     376//      fForceSwitch is TRUE)
    374377/******************************************************************************/
    375 USHORT WIN32API SetWin32TIB()
     378USHORT WIN32API SetWin32TIB(BOOL fForceSwitch)
    376379{
    377380 SHORT  win32tibsel;
     
    380383    //If we're running an Odin32 OS/2 application (not converted!), then we
    381384    //we don't switch FS selectors
    382     if(fIsOS2Image) {
     385    if(fIsOS2Image && !fForceSwitch) {
    383386        return GetFS();
    384387    }
Note: See TracChangeset for help on using the changeset viewer.