ReactOS 0.4.15-dev-7994-gb388cb6
appverifier.c
Go to the documentation of this file.
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 */
21VOID
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",
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");
46}
VOID NTAPI RtlApplicationVerifierStop(_In_ ULONG_PTR Code, _In_ PCSTR Message, _In_ PVOID Value1, _In_ PCSTR Description1, _In_ PVOID Value2, _In_ PCSTR Description2, _In_ PVOID Value3, _In_ PCSTR Description3, _In_ PVOID Value4, _In_ PCSTR Description4)
Definition: appverifier.c:23
static const WCHAR Message[]
Definition: register.c:74
#define DbgPrint
Definition: hal.h:12
NTSYSAPI void WINAPI DbgBreakPoint(void)
#define NtCurrentTeb
#define _In_
Definition: ms_sal.h:308
HANDLE UniqueProcess
Definition: compat.h:825
Definition: compat.h:836
CLIENT_ID ClientId
Definition: compat.h:839
#define NTAPI
Definition: typedefs.h:36
const char * PCSTR
Definition: typedefs.h:52
uint32_t ULONG_PTR
Definition: typedefs.h:65
_In_ UCHAR _In_ UCHAR _In_ ULONG Code
Definition: wdfdevice.h:1701