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/winimagepeldr.cpp

    r7670 r7811  
    1 /* $Id: winimagepeldr.cpp,v 1.94 2001-12-22 12:34:06 sandervl Exp $ */
     1/* $Id: winimagepeldr.cpp,v 1.95 2002-02-06 16:33:39 sandervl Exp $ */
    22
    33/*
     
    119119 HFILE  dllfile;
    120120
     121    fIsPEImage = TRUE;
     122
    121123    strcpy(szFileName, pszFileName);
    122124    strupr(szFileName);
     
    624626    //they get TLS index 0 for their main executable
    625627    {
    626       USHORT sel = SetWin32TIB();
     628      USHORT sel = SetWin32TIB(TIB_SWITCH_FORCE_WIN32);
    627629      tlsAlloc();
    628630      tlsAttachThread();  //setup TLS (main thread)
Note: See TracChangeset for help on using the changeset viewer.