1 #define WIN32_NO_STATUS
8 #define EXCEPTION_WINE_STUB 0x80000100
9 #define EH_NONCONTINUABLE 0x01
15 _In_ PEXCEPTION_RECORD ExceptionRecord
21 _In_z_ _Printf_format_string_ PCSTR Format
,
25 #define __wine_spec_unimplemented_stub(module, function) \
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); \