mirror of
https://github.com/reactos/reactos.git
synced 2025-06-20 07:36:05 +00:00
[INCLUDE/WINE] Add __FINALLY_CTX in the context of our PSEH library. CORE-16441
This commit is contained in:
parent
76cf09cfea
commit
c41dde9a2b
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ typedef struct _WINE_EXCEPTION_REGISTRATION_RECORD
|
|||
#define __EXCEPT_ALL _SEH2_EXCEPT(_SEH_EXECUTE_HANDLER)
|
||||
#define __ENDTRY _SEH2_END
|
||||
#define __FINALLY(func) _SEH2_FINALLY { func(!_SEH2_AbnormalTermination()); }
|
||||
#define __FINALLY_CTX(func, ctx) _SEH2_FINALLY { func(!_SEH2_AbnormalTermination(), ctx); }; _SEH2_END
|
||||
|
||||
#ifndef GetExceptionCode
|
||||
#define GetExceptionCode() _SEH2_GetExceptionCode()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue