• Rob Shearman's avatar
    Don't use GetExceptionCode and GetExceptionInformation in exception filter functions. · a82f4dd9
    Rob Shearman authored
    When using native compiler exceptions, it isn't valid to use 
    GetExceptionCode and GetExceptionInformation anywhere other than in the 
    filter or handler blocks since it would be very hard for the compiler to 
    work out where to retrieve the exception information from on the stack.
    
    Therefore, remove the WINE_EXCEPTION_FILTER and WINE_FINALLY_FUNC macros 
    which enabled GetExceptionCode, GetExceptionInformation and 
    AbnormalTermination to be used inside of the functions they declared and 
    fix up all callers to access the information directly.
    a82f4dd9
dosvm.c 20.3 KB