4 // #define __ROS_LONG64__
6 /* The user must #define STANDALONE if it uses this header in testlist.c */
7 #define WIN32_NO_STATUS
11 #include <pseh/pseh2.h>
13 /* See kmtests/include/kmt_test.h */
14 #define InvalidPointer ((PVOID)0x5555555555555555ULL)
15 // #define InvalidPointer ((PVOID)0x0123456789ABCDEFULL)
19 NTSTATUS ExceptionStatus = STATUS_SUCCESS; \
23 #define EndSeh(ExpectedStatus) \
25 _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER) \
27 ExceptionStatus = _SEH2_GetExceptionCode(); \
30 ok(ExceptionStatus == (ExpectedStatus), \
31 "Exception 0x%08lx, expected 0x%08lx\n", \
32 ExceptionStatus, (ExpectedStatus)); \
35 #endif /* _APITEST_H */