ReactOS  0.4.14-dev-552-g2fad488
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 
12 VOID
13 NTAPI
15  _In_ PEXCEPTION_RECORD ExceptionRecord
16 );
17 
18 ULONG
19 __cdecl
20 DbgPrint(
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
NTSYSAPI VOID NTAPI RtlRaiseException(_In_ PEXCEPTION_RECORD ExceptionRecord)
ULONG __cdecl DbgPrint(_In_z_ _Printf_format_string_ PCSTR Format,...)
#define NTSYSAPI
Definition: ntoskrnl.h:14
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
#define _In_
Definition: no_sal2.h:204
#define _In_z_
Definition: no_sal2.h:239
unsigned int ULONG
Definition: retypes.h:1
const char * PCSTR
Definition: typedefs.h:51
#define _Printf_format_string_
Definition: no_sal2.h:569