ReactOS 0.4.15-dev-6694-g4ba8af9
stubs.h
Go to the documentation of this file.
1#define WIN32_NO_STATUS
2#define _NTSYSTEM_
3#include <windef.h>
4
5#ifndef PRIx64
6#define PRIx64 "I64x"
7#endif
8
9#define EXCEPTION_WINE_STUB 0x80000100
10#define EH_NONCONTINUABLE 0x01
11
13VOID
16 _In_ PEXCEPTION_RECORD ExceptionRecord
17);
18
23 ...
24);
25
26#define __wine_spec_unimplemented_stub(module, function) \
27{ \
28 EXCEPTION_RECORD ExceptionRecord = {0}; \
29 ExceptionRecord.ExceptionRecord = NULL; \
30 ExceptionRecord.ExceptionCode = EXCEPTION_WINE_STUB; \
31 ExceptionRecord.ExceptionFlags = EXCEPTION_NONCONTINUABLE; \
32 ExceptionRecord.ExceptionInformation[0] = (ULONG_PTR)module; \
33 ExceptionRecord.ExceptionInformation[1] = (ULONG_PTR)function; \
34 ExceptionRecord.NumberParameters = 2; \
35 RtlRaiseException(&ExceptionRecord); \
36}
#define __cdecl
Definition: accygwin.h:79
#define NTSYSAPI
Definition: ntoskrnl.h:12
#define DbgPrint
Definition: hal.h:12
#define _In_z_
Definition: ms_sal.h:313
#define _In_
Definition: ms_sal.h:308
#define _Printf_format_string_
Definition: ms_sal.h:561
NTSYSAPI VOID NTAPI RtlRaiseException(_In_ PEXCEPTION_RECORD ExceptionRecord)
#define NTAPI
Definition: typedefs.h:36
const char * PCSTR
Definition: typedefs.h:52
uint32_t ULONG
Definition: typedefs.h:59