MCPcopy Create free account
hub / github.com/bobranten/Ext4Fsd / Ext2DbgPrintComplete

Function Ext2DbgPrintComplete

Ext4Fsd/debug.c:716–737  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

714}
715
716VOID
717Ext2DbgPrintComplete (IN PIRP Irp, IN BOOLEAN bPrint)
718{
719 PIO_STACK_LOCATION IoStackLocation;
720
721 if (!Irp)
722 return;
723
724 if (Irp->IoStatus.Status != STATUS_SUCCESS) {
725
726 IoStackLocation = IoGetCurrentIrpStackLocation(Irp);
727
728 if (bPrint) {
729 DEBUGNI(DL_FUN, ("%s %s Status: %s (%#x).\n",
730 Ext2GetCurrentProcessName(),
731 IrpMjStrings[IoStackLocation->MajorFunction],
732 Ext2NtStatusToString(Irp->IoStatus.Status),
733 Irp->IoStatus.Status
734 ));
735 }
736 }
737}
738
739PUCHAR
740Ext2NtStatusToString ( IN NTSTATUS Status )

Callers

nothing calls this directly

Calls 1

Ext2NtStatusToStringFunction · 0.85

Tested by

no test coverage detected