ReactOS 0.4.15-dev-7788-g1ad9096
fxverifierbugcheck.cpp File Reference
#include "fxobjectpch.hpp"
Include dependency graph for fxverifierbugcheck.cpp:

Go to the source code of this file.

Functions

DECLSPEC_NORETURN VOID FxVerifierBugCheckWorker (__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in WDF_BUGCHECK_CODES WdfBugCheckCode, __in_opt ULONG_PTR BugCheckParameter2, __in_opt ULONG_PTR BugCheckParameter3)
 
DECLSPEC_NORETURN VOID FxVerifierNullBugCheck (__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in PVOID ReturnAddress)
 

Function Documentation

◆ FxVerifierBugCheckWorker()

DECLSPEC_NORETURN VOID FxVerifierBugCheckWorker ( __in PFX_DRIVER_GLOBALS  FxDriverGlobals,
__in WDF_BUGCHECK_CODES  WdfBugCheckCode,
__in_opt ULONG_PTR  BugCheckParameter2,
__in_opt ULONG_PTR  BugCheckParameter3 
)

Definition at line 44 of file fxverifierbugcheck.cpp.

62{
63 //
64 // Indicate to the BugCheck callback filter which IFR to dump.
65 //
66 FxDriverGlobals->FxForceLogsInMiniDump = TRUE;
67
69 WdfBugCheckCode,
70 BugCheckParameter2,
71 BugCheckParameter3,
72 (ULONG_PTR) FxDriverGlobals );
73}
static DECLSPEC_NORETURN VOID MxBugCheckEx(__in ULONG BugCheckCode, __in ULONG_PTR BugCheckParameter1, __in ULONG_PTR BugCheckParameter2, __in ULONG_PTR BugCheckParameter3, __in ULONG_PTR BugCheckParameter4)
Definition: mxgeneralkm.h:133
#define TRUE
Definition: types.h:120
#define WDF_VIOLATION
Definition: mx.h:37
uint32_t ULONG_PTR
Definition: typedefs.h:65

◆ FxVerifierNullBugCheck()

DECLSPEC_NORETURN VOID FxVerifierNullBugCheck ( __in PFX_DRIVER_GLOBALS  FxDriverGlobals,
__in PVOID  ReturnAddress 
)

Definition at line 77 of file fxverifierbugcheck.cpp.

94{
95
97 "NULL Required Parameter Passed to a DDI\n"
98 "FxDriverGlobals 0x%p",
99 FxDriverGlobals
100 );
101
102 FxVerifierBugCheck(FxDriverGlobals,
103 WDF_REQUIRED_PARAMETER_IS_NULL, // Bugcheck code.
104 0, // Parameter 2
105 (ULONG_PTR)ReturnAddress // Parameter 3
106 );
107}
#define TRACINGERROR
Definition: dbgtrace.h:63
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
#define FxVerifierBugCheck(FxDriverGlobals, Error,...)
Definition: fxverifier.h:58
#define TRACE_LEVEL_FATAL
Definition: storswtr.h:26
@ WDF_REQUIRED_PARAMETER_IS_NULL
Definition: wdfbugcodes.h:61