[SPEC2DEF/CMAKE]
[reactos.git] / reactos / include / reactos / stubs.h
1 #include <stdarg.h>
2 #define WIN32_NO_STATUS
3 #include <windef.h>
4
5 #include <wine/config.h>
6 #include <wine/exception.h>
7
8 ULONG __cdecl DbgPrint(_In_z_ _Printf_format_string_ PCSTR Format, ...);
9
10 VOID
11 WINAPI
12 RaiseException(_In_ DWORD dwExceptionCode,
13 _In_ DWORD dwExceptionFlags,
14 _In_ DWORD nNumberOfArguments,
15 _In_ CONST ULONG_PTR *lpArguments OPTIONAL);
16
17 #define __wine_spec_unimplemented_stub(module, function) \
18 { \
19 ULONG_PTR args[2]; \
20 args[0] = (ULONG_PTR)module; \
21 args[1] = (ULONG_PTR)function; \
22 RaiseException( EXCEPTION_WINE_STUB, EH_NONCONTINUABLE, 2, args ); \
23 }