mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +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,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) {
|
||||
|
|
Loading…
Reference in a new issue