[SHELL32] SHChangeNotify: Add drive, remove drive (#6782)
[reactos.git] / sdk / include / reactos / stubs.h
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
11 NTSYSAPI
12 VOID
13 NTAPI
14 RtlRaiseException(
15 _In_ PEXCEPTION_RECORD ExceptionRecord
16 );
17
18 ULONG
19 __cdecl
20 DbgPrint(
21 _In_z_ _Printf_format_string_ PCSTR Format,
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 }