[CLASSPNP] Addendum to r71183.

svn path=/trunk/; revision=71205
This commit is contained in:
Amine Khaldi 2016-04-25 22:39:15 +00:00
parent 4a708c0f30
commit 09f17e982e

View file

@ -803,12 +803,12 @@ ClassDispatchPnp(
if(irpStack->MinorFunction == IRP_MN_CANCEL_STOP_DEVICE) {
status = devInfo->ClassStopDevice(DeviceObject,
irpStack->MinorFunction);
ASSERTMSG("ClassDispatchPnp !! CANCEL_STOP_DEVICE should "
ASSERTMSGW(L"ClassDispatchPnp !! CANCEL_STOP_DEVICE should "
L"never be failed\n", NT_SUCCESS(status));
} else {
status = devInfo->ClassRemoveDevice(DeviceObject,
irpStack->MinorFunction);
ASSERTMSG("ClassDispatchPnp !! CANCEL_REMOVE_DEVICE should "
ASSERTMSGW(L"ClassDispatchPnp !! CANCEL_REMOVE_DEVICE should "
L"never be failed\n", NT_SUCCESS(status));
}
@ -876,7 +876,7 @@ ClassDispatchPnp(
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));
if(isFdo) {