ReactOS  0.4.14-dev-41-g31d7680
apitest.h File Reference
#include <wine/test.h>
#include <pseh/pseh2.h>
Include dependency graph for apitest.h:

Go to the source code of this file.

Macros

#define WIN32_NO_STATUS
 
#define InvalidPointer   ((PVOID)0x5555555555555555ULL)
 
#define StartSeh()
 
#define EndSeh(ExpectedStatus)
 

Macro Definition Documentation

◆ EndSeh

#define EndSeh (   ExpectedStatus)
Value:
} \
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER) \
{ \
ExceptionStatus = _SEH2_GetExceptionCode(); \
} \
_SEH2_END; \
ok(ExceptionStatus == (ExpectedStatus), \
"Exception 0x%08lx, expected 0x%08lx\n", \
ExceptionStatus, (ExpectedStatus)); \
}
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
#define _SEH2_GetExceptionCode()
Definition: pseh2_64.h:12

Definition at line 23 of file apitest.h.

◆ InvalidPointer

#define InvalidPointer   ((PVOID)0x5555555555555555ULL)

Definition at line 14 of file apitest.h.

◆ StartSeh

#define StartSeh ( )
Value:
{ \
NTSTATUS ExceptionStatus = STATUS_SUCCESS; \
_SEH2_TRY \
{
return STATUS_SUCCESS
Definition: btrfs.c:2966

Definition at line 17 of file apitest.h.

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 7 of file apitest.h.