ReactOS 0.4.15-dev-7918-g2a2556c
verifierapi.cpp File Reference
#include "coreprivshared.hpp"
Include dependency graph for verifierapi.cpp:

Go to the source code of this file.

Functions

VOID WDFEXPORT() WdfVerifierDbgBreakPoint (__in PWDF_DRIVER_GLOBALS DriverGlobals)
 
VOID WDFEXPORT() WdfVerifierKeBugCheck (__in PWDF_DRIVER_GLOBALS DriverGlobals, __in ULONG BugCheckCode, __in ULONG_PTR BugCheckParameter1, __in ULONG_PTR BugCheckParameter2, __in ULONG_PTR BugCheckParameter3, __in ULONG_PTR BugCheckParameter4)
 
VOID WDFEXPORT() WdfCxVerifierKeBugCheck (__in PWDF_DRIVER_GLOBALS DriverGlobals, __in_opt WDFOBJECT Object, __in ULONG BugCheckCode, __in ULONG_PTR BugCheckParameter1, __in ULONG_PTR BugCheckParameter2, __in ULONG_PTR BugCheckParameter3, __in ULONG_PTR BugCheckParameter4)
 
PVOID WDFEXPORT() WdfGetTriageInfo (_In_ PWDF_DRIVER_GLOBALS DriverGlobals)
 

Variables

WDF_TRIAGE_INFO g_WdfTriageInfo
 

Function Documentation

◆ WdfCxVerifierKeBugCheck()

VOID WDFEXPORT() WdfCxVerifierKeBugCheck ( __in PWDF_DRIVER_GLOBALS  DriverGlobals,
__in_opt WDFOBJECT  Object,
__in ULONG  BugCheckCode,
__in ULONG_PTR  BugCheckParameter1,
__in ULONG_PTR  BugCheckParameter2,
__in ULONG_PTR  BugCheckParameter3,
__in ULONG_PTR  BugCheckParameter4 
)

Definition at line 149 of file verifierapi.cpp.

207{
209
212
213 if (NULL == Object) {
215 }
216 else {
218 Object,
220 (PVOID*)&pObject,
222 }
223
225
226 //
227 // Indicate to the BugCheck callback filter which IFR to dump.
228 //
230
231#pragma prefast(suppress:__WARNING_USE_OTHER_FUNCTION, "WDF wrapper to KeBugCheckEx.");
232 Mx::MxBugCheckEx(BugCheckCode,
233 BugCheckParameter1,
234 BugCheckParameter2,
235 BugCheckParameter3,
236 BugCheckParameter4);
237}
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 NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
FxObjectHandleGetPtrAndGlobals(GetFxDriverGlobals(DriverGlobals), Device, FX_TYPE_DEVICE,(PVOID *)&pDevice, &pFxDriverGlobals)
PFX_DRIVER_GLOBALS pFxDriverGlobals
DriverGlobals
__inline PFX_DRIVER_GLOBALS GetFxDriverGlobals(__in PWDF_DRIVER_GLOBALS DriverGlobals)
Definition: fxglobals.h:597
#define DDI_ENTRY_IMPERSONATION_OK()
Definition: fxglobalskm.h:55
FxObject * pObject
@ FX_TYPE_OBJECT
Definition: fxtypes.h:45
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317
BOOLEAN FxForceLogsInMiniDump
Definition: fxglobals.h:477
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object

◆ WdfGetTriageInfo()

PVOID WDFEXPORT() WdfGetTriageInfo ( _In_ PWDF_DRIVER_GLOBALS  DriverGlobals)

Definition at line 241 of file verifierapi.cpp.

262{
263 DDI_ENTRY();
264
266 return &g_WdfTriageInfo;
267}
#define DDI_ENTRY()
Definition: fxglobalskm.h:56
WDF_TRIAGE_INFO g_WdfTriageInfo

◆ WdfVerifierDbgBreakPoint()

VOID WDFEXPORT() WdfVerifierDbgBreakPoint ( __in PWDF_DRIVER_GLOBALS  DriverGlobals)

Definition at line 40 of file verifierapi.cpp.

◆ WdfVerifierKeBugCheck()

VOID WDFEXPORT() WdfVerifierKeBugCheck ( __in PWDF_DRIVER_GLOBALS  DriverGlobals,
__in ULONG  BugCheckCode,
__in ULONG_PTR  BugCheckParameter1,
__in ULONG_PTR  BugCheckParameter2,
__in ULONG_PTR  BugCheckParameter3,
__in ULONG_PTR  BugCheckParameter4 
)

Definition at line 78 of file verifierapi.cpp.

129{
131
132 //
133 // Indicate to the BugCheck callback filter which IFR to dump.
134 //
136
139
140#pragma prefast(suppress:__WARNING_USE_OTHER_FUNCTION, "WDF wrapper to KeBugCheckEx.");
141 Mx::MxBugCheckEx(BugCheckCode,
142 BugCheckParameter1,
143 BugCheckParameter2,
144 BugCheckParameter3,
145 BugCheckParameter4);
146}

Variable Documentation

◆ g_WdfTriageInfo

WDF_TRIAGE_INFO g_WdfTriageInfo
extern

Definition at line 41 of file fxlibrarycommon.cpp.

Referenced by WdfGetTriageInfo().