[RTL]
[reactos.git] / reactos / sdk / lib / rtl / appverifier.c
1 /*
2 * PROJECT: ReactOS Runtime Library
3 * LICENSE: BSD - See COPYING.ARM in the top level directory
4 * FILE: lib/rtl/appverifier.c
5 * PURPOSE: RTL Application Verifier Routines
6 * PROGRAMMERS: Thomas Faber <thomas.faber@reactos.org>
7 */
8
9 /* INCLUDES *****************************************************************/
10
11 #include <rtl.h>
12
13 #define NDEBUG
14 #include <debug.h>
15
16 /* FUNCTIONS ***************************************************************/
17
18 /*
19 * @implemented
20 */
21 VOID
22 NTAPI
23 RtlApplicationVerifierStop(
24 _In_ ULONG_PTR Code,
25 _In_ PCSTR Message,
26 _In_ PVOID Value1,
27 _In_ PCSTR Description1,
28 _In_ PVOID Value2,
29 _In_ PCSTR Description2,
30 _In_ PVOID Value3,
31 _In_ PCSTR Description3,
32 _In_ PVOID Value4,
33 _In_ PCSTR Description4)
34 {
35 PTEB Teb = NtCurrentTeb();
36
37 DbgPrint("**************************************************\n");
38 DbgPrint("VERIFIER STOP %08Ix: pid %04Ix: %s\n",
39 Code, (ULONG_PTR)Teb->ClientId.UniqueProcess, Message);
40 DbgPrint(" %p : %s\n", Value1, Description1);
41 DbgPrint(" %p : %s\n", Value2, Description2);
42 DbgPrint(" %p : %s\n", Value3, Description3);
43 DbgPrint(" %p : %s\n", Value4, Description4);
44 DbgPrint("**************************************************\n");
45 DbgBreakPoint();
46 }