| 714 | } |
| 715 | |
| 716 | VOID |
| 717 | Ext2DbgPrintComplete (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 | |
| 739 | PUCHAR |
| 740 | Ext2NtStatusToString ( IN NTSTATUS Status ) |
nothing calls this directly
no test coverage detected