Changeset 21999 for trunk/src/kernel32/wprocess.cpp
- Timestamp:
- Apr 18, 2012, 10:46:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/wprocess.cpp
r21916 r21999 79 79 BOOL fSwitchTIBSel = TRUE; // TRUE -> switch TIB selectors 80 80 // FALSE -> don't 81 BOOL f SEHEnabled = FALSE; // TRUE -> SEH support enabled81 BOOL fForceWin32TIB = FALSE; // TRUE -> force TIB switch 82 82 // FALSE -> not enabled 83 83 BOOL fExitProcess = FALSE; … … 113 113 //****************************************************************************** 114 114 //****************************************************************************** 115 VOID WIN32API EnableSEH()116 { 117 if(!f SEHEnabled) {115 VOID WIN32API ForceWin32TIB() 116 { 117 if(!fForceWin32TIB) { 118 118 ODIN_SetTIBSwitch(TRUE); 119 f SEHEnabled= TRUE;119 fForceWin32TIB = TRUE; 120 120 } 121 121 return; … … 510 510 { 511 511 dprintf(("ODIN_SetTIBSwitch %d", fSwitchTIB)); 512 if (!f SEHEnabled) {512 if (!fForceWin32TIB) { 513 513 fSwitchTIBSel = fSwitchTIB; 514 514 if(fSwitchTIBSel) { … … 517 517 else RestoreOS2TIB(); 518 518 } else { 519 dprintf(("ODIN_SetTIBSwitch: ignored due to f SEHEnabled= TRUE"));519 dprintf(("ODIN_SetTIBSwitch: ignored due to fForceWin32TIB = TRUE")); 520 520 } 521 521 }
Note:
See TracChangeset
for help on using the changeset viewer.