Ignore:
Timestamp:
Apr 18, 2012, 10:46:37 PM (13 years ago)
Author:
dmik
Message:

kernel32: Make SEH work in OS/2 context.

See #82 for details.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/odinlx.h

    r21941 r21999  
    6767
    6868//******************************************************************************
    69 //Enable SEH (structured exception handling) support. This call is necessary
    70 //for the __try/__except statement to work correctly. Must be called before
    71 // RegisterLxDll()/RegisterLxExe().
     69//Makes FS register point to the Win32 thread information block. For Win32
     70//binaries, this is set automatically but for OS/2 binaries it must be set by
     71//hand when ODIN_FORCE_WIN32_TIB is defined in order for SEH (structured
     72//exception handling) to work properly. Must be called before RegisterLxDll()/
     73//RegisterLxExe().
    7274//******************************************************************************
    73 VOID WIN32API EnableSEH();
     75VOID WIN32API ForceWin32TIB();
    7476
    7577#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.