237{
240
242
244
245
246
247
249 ASSERT(FxDriverGlobals->WdfLogHeader ==
NULL);
250 return;
251 }
252
253 if (FxDriverGlobals ==
NULL || FxDriverGlobals->WdfLogHeader !=
NULL) {
254 return;
255 }
256
258
263 return;
264 }
265
267
268
269
270
271
272
274
277
278 pHeader->Offset.u.s.Current = 0;
279 pHeader->Offset.u.s.Previous = 0;
281
282 FxDriverGlobals->WdfLogHeader =
pHeader;
283
285 "FxIFR logging started" );
286
290 "FxIFR has been started with a size override: size 0x%x bytes, "
291 "# Pages %d. An extended IFR size may not be written to a minidump!",
293 }
294}
#define ExAllocatePoolWithTag(hernya, size, tag)
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
struct _WDF_IFR_HEADER * PWDF_IFR_HEADER
#define WDF_IFR_RECORD_SIGNATURE
struct _WDF_IFR_HEADER WDF_IFR_HEADER
#define WDF_IFR_HEADER_NAME_LEN
FxContextHeader * pHeader
#define UNREFERENCED_PARAMETER(P)
NTSTRSAFEAPI RtlStringCchCopyA(_Out_writes_(cchDest) _Always_(_Post_z_) NTSTRSAFE_PSTR pszDest, _In_ size_t cchDest, _In_ NTSTRSAFE_PCSTR pszSrc)
FxLibraryGlobalsType FxLibraryGlobals
#define TRACE_LEVEL_INFORMATION
ULONG FxIFRGetSize(__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in PCUNICODE_STRING RegistryPath)
#define RtlCopyMemory(Destination, Source, Length)
#define RtlZeroMemory(Destination, Length)
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING RegistryPath
_Must_inspect_result_ _In_ PDRIVER_OBJECT DriverObject