ReactOS 0.4.15-dev-8222-g9164419
umdfstub.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

NTSTATUS LibraryDriverEntry (__in PUNICODE_STRING RegistryPath)
 
VOID LibraryUnload ()
 
NTSTATUS FxDriverEntry (__in PWDF_DRIVER_GLOBALS *WdfDriverGlobals)
 
VOID DriverUnload (__in PWDF_DRIVER_GLOBALS WdfDriverGlobals)
 
VOID FxIFRStop (__in PFX_DRIVER_GLOBALS FxDriverGlobals)
 

Function Documentation

◆ DriverUnload()

VOID DriverUnload ( __in PWDF_DRIVER_GLOBALS  WdfDriverGlobals)

◆ FxDriverEntry()

NTSTATUS FxDriverEntry ( __in PWDF_DRIVER_GLOBALS WdfDriverGlobals)

◆ FxIFRStop()

VOID FxIFRStop ( __in PFX_DRIVER_GLOBALS  FxDriverGlobals)

Definition at line 297 of file tracing.cpp.

310{
311 //
312 // Return early if IFR is disabled.
313 //
315 ASSERT(FxDriverGlobals->WdfLogHeader == NULL);
316 return;
317 }
318
319 if (FxDriverGlobals == NULL || FxDriverGlobals->WdfLogHeader == NULL) {
320 return;
321 }
322
323 //
324 // Free the Log buffer.
325 //
326 ExFreePoolWithTag( FxDriverGlobals->WdfLogHeader, WDF_IFR_LOG_TAG );
327 FxDriverGlobals->WdfLogHeader = NULL;
328}
#define NULL
Definition: types.h:112
#define WDF_IFR_LOG_TAG
Definition: fxifr.h:88
#define ASSERT(a)
Definition: mode.c:44
#define ExFreePoolWithTag(_P, _T)
Definition: module.h:1109
FxLibraryGlobalsType FxLibraryGlobals
Definition: globals.cpp:95

Referenced by FxLibraryCommonUnregisterClient().

◆ LibraryDriverEntry()

NTSTATUS LibraryDriverEntry ( __in PUNICODE_STRING  RegistryPath)

◆ LibraryUnload()

VOID LibraryUnload ( )