ReactOS  0.4.15-dev-5142-g967f5b9
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 
210  FxObject* pObject;
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 }
FxObject * pObject
#define TRUE
Definition: types.h:120
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317
DriverGlobals
PFX_DRIVER_GLOBALS pFxDriverGlobals
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
#define NULL
Definition: types.h:112
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 DDI_ENTRY_IMPERSONATION_OK()
Definition: fxglobalskm.h:55
FxObjectHandleGetPtrAndGlobals(GetFxDriverGlobals(DriverGlobals), Device, FX_TYPE_DEVICE,(PVOID *)&pDevice, &pFxDriverGlobals)
__inline PFX_DRIVER_GLOBALS GetFxDriverGlobals(__in PWDF_DRIVER_GLOBALS DriverGlobals)
Definition: fxglobals.h:597
BOOLEAN FxForceLogsInMiniDump
Definition: fxglobals.h:477

◆ 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 }
WDF_TRIAGE_INFO g_WdfTriageInfo
#define DDI_ENTRY()
Definition: fxglobalskm.h:56
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317
DriverGlobals

◆ WdfVerifierDbgBreakPoint()

VOID WDFEXPORT() WdfVerifierDbgBreakPoint ( __in PWDF_DRIVER_GLOBALS  DriverGlobals)

Definition at line 40 of file verifierapi.cpp.

64 {
66 
68 
70 
72  DbgBreakPoint();
73  }
74 }
DriverGlobals
VOID NTAPI DbgBreakPoint(VOID)
PFX_DRIVER_GLOBALS pFxDriverGlobals
BOOLEAN FxVerifierDbgBreakOnError
Definition: fxglobals.h:431
#define DDI_ENTRY_IMPERSONATION_OK()
Definition: fxglobalskm.h:55
__inline PFX_DRIVER_GLOBALS GetFxDriverGlobals(__in PWDF_DRIVER_GLOBALS DriverGlobals)
Definition: fxglobals.h:597

◆ 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 }
#define TRUE
Definition: types.h:120
DriverGlobals
PFX_DRIVER_GLOBALS pFxDriverGlobals
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 DDI_ENTRY_IMPERSONATION_OK()
Definition: fxglobalskm.h:55
__inline PFX_DRIVER_GLOBALS GetFxDriverGlobals(__in PWDF_DRIVER_GLOBALS DriverGlobals)
Definition: fxglobals.h:597
BOOLEAN FxForceLogsInMiniDump
Definition: fxglobals.h:477

Variable Documentation

◆ g_WdfTriageInfo

WDF_TRIAGE_INFO g_WdfTriageInfo

Definition at line 41 of file fxlibrarycommon.cpp.

Referenced by WdfGetTriageInfo().