ReactOS 0.4.15-dev-5667-ged97270
stubs.h
Go to the documentation of this file.
1#define WIN32_NO_STATUS
2#include <windef.h>
3
4#ifndef PRIx64
5#define PRIx64 "I64x"
6#endif
7
8#define EXCEPTION_WINE_STUB 0x80000100
9#define EH_NONCONTINUABLE 0x01
10
12VOID
15 _In_ PEXCEPTION_RECORD ExceptionRecord
16);
17
22 ...
23);
24
25#define __wine_spec_unimplemented_stub(module, function) \
26{ \
27 EXCEPTION_RECORD ExceptionRecord = {0}; \
28 ExceptionRecord.ExceptionRecord = NULL; \
29 ExceptionRecord.ExceptionCode = EXCEPTION_WINE_STUB; \
30 ExceptionRecord.ExceptionFlags = EXCEPTION_NONCONTINUABLE; \
31 ExceptionRecord.ExceptionInformation[0] = (ULONG_PTR)module; \
32 ExceptionRecord.ExceptionInformation[1] = (ULONG_PTR)function; \
33 ExceptionRecord.NumberParameters = 2; \
34 RtlRaiseException(&ExceptionRecord); \
35}
#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