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