ReactOS 0.4.15-dev-6679-g945ee4b
apitest.h File Reference
#include <wine/test.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)
 
#define ok_hr(status, expected)   ok_hex(status, expected)
 
#define ok_hr_(file, line, status, expected)   ok_hex_(file, line, status, expected)
 

Macro Definition Documentation

◆ EndSeh

#define EndSeh (   ExpectedStatus)
Value:
} \
{ \
ExceptionStatus = GetExceptionCode(); \
} \
ok(ExceptionStatus == (ExpectedStatus), \
"Exception 0x%08lx, expected 0x%08lx\n", \
ExceptionStatus, (ExpectedStatus)); \
}
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
#define GetExceptionCode()
Definition: seh.h:27

Definition at line 42 of file apitest.h.

◆ InvalidPointer

#define InvalidPointer   ((PVOID)0x5555555555555555ULL)

Definition at line 12 of file apitest.h.

◆ ok_hr

#define ok_hr (   status,
  expected 
)    ok_hex(status, expected)

Definition at line 54 of file apitest.h.

◆ ok_hr_

#define ok_hr_ (   file,
  line,
  status,
  expected 
)    ok_hex_(file, line, status, expected)

Definition at line 55 of file apitest.h.

◆ StartSeh

#define StartSeh ( )
Value:
{ \
NTSTATUS ExceptionStatus = STATUS_SUCCESS; \
__try \
{
LONG NTSTATUS
Definition: precomp.h:26
#define STATUS_SUCCESS
Definition: shellext.h:65

Definition at line 36 of file apitest.h.

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 7 of file apitest.h.