mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[CLASSPNP] Addendum to r71183.
svn path=/trunk/; revision=71205
This commit is contained in:
parent
4a708c0f30
commit
09f17e982e
1 changed files with 6 additions and 6 deletions
|
@ -803,13 +803,13 @@ ClassDispatchPnp(
|
||||||
if(irpStack->MinorFunction == IRP_MN_CANCEL_STOP_DEVICE) {
|
if(irpStack->MinorFunction == IRP_MN_CANCEL_STOP_DEVICE) {
|
||||||
status = devInfo->ClassStopDevice(DeviceObject,
|
status = devInfo->ClassStopDevice(DeviceObject,
|
||||||
irpStack->MinorFunction);
|
irpStack->MinorFunction);
|
||||||
ASSERTMSG("ClassDispatchPnp !! CANCEL_STOP_DEVICE should "
|
ASSERTMSGW(L"ClassDispatchPnp !! CANCEL_STOP_DEVICE should "
|
||||||
L"never be failed\n", NT_SUCCESS(status));
|
L"never be failed\n", NT_SUCCESS(status));
|
||||||
} else {
|
} else {
|
||||||
status = devInfo->ClassRemoveDevice(DeviceObject,
|
status = devInfo->ClassRemoveDevice(DeviceObject,
|
||||||
irpStack->MinorFunction);
|
irpStack->MinorFunction);
|
||||||
ASSERTMSG("ClassDispatchPnp !! CANCEL_REMOVE_DEVICE should "
|
ASSERTMSGW(L"ClassDispatchPnp !! CANCEL_REMOVE_DEVICE should "
|
||||||
L"never be failed\n", NT_SUCCESS(status));
|
L"never be failed\n", NT_SUCCESS(status));
|
||||||
}
|
}
|
||||||
|
|
||||||
Irp->IoStatus.Status = status;
|
Irp->IoStatus.Status = status;
|
||||||
|
@ -876,8 +876,8 @@ ClassDispatchPnp(
|
||||||
|
|
||||||
status = devInfo->ClassStopDevice(DeviceObject, IRP_MN_STOP_DEVICE);
|
status = devInfo->ClassStopDevice(DeviceObject, IRP_MN_STOP_DEVICE);
|
||||||
|
|
||||||
ASSERTMSG("ClassDispatchPnp !! STOP_DEVICE should "
|
ASSERTMSGW(L"ClassDispatchPnp !! STOP_DEVICE should "
|
||||||
L"never be failed\n", NT_SUCCESS(status));
|
L"never be failed\n", NT_SUCCESS(status));
|
||||||
|
|
||||||
if(isFdo) {
|
if(isFdo) {
|
||||||
status = ClassForwardIrpSynchronous(commonExtension, Irp);
|
status = ClassForwardIrpSynchronous(commonExtension, Irp);
|
||||||
|
|
Loading…
Reference in a new issue