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/src/kernel32/exceptutil.asm

    r21916 r21999  
    151151OS2ExceptionHandler endp
    152152
     153
     154        PUBLIC OSLibDispatchException
     155        EXTRN  OSLibDispatchExceptionWin32:NEAR
     156        EXTRN  ___seh_handler_filter:NEAR
     157
     158; BOOL APIENTRY OSLibDispatchException(PEXCEPTIONREPORTRECORD pReportRec,
     159;                                      PEXCEPTIONREGISTRATIONRECORD pRegistrationRec,
     160;                                      PCONTEXTRECORD pContextRec, PVOID p,
     161;                                      BOOL fSEH);
     162OSLibDispatchException proc near
     163        cmp dword ptr [esp + 20], 0 ; fSEH == FALSE?
     164        jz  OSLibDispatchExceptionWin32
     165        jmp ___seh_handler_filter
     166OSLibDispatchException endp
     167
     168
    153169        PUBLIC _QueryExceptionChain
    154170
Note: See TracChangeset for help on using the changeset viewer.