Author: akhaldi
Date: Mon Apr 25 22:47:45 2016
New Revision: 71206
URL:
http://svn.reactos.org/svn/reactos?rev=71206&view=rev
Log:
[CLASSPNP] Use NT_ASSERTMSGW instead of ASSERTMSGW.
Modified:
trunk/reactos/drivers/storage/classpnp/class.c
Modified: trunk/reactos/drivers/storage/classpnp/class.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/classpnp/c…
==============================================================================
--- trunk/reactos/drivers/storage/classpnp/class.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/classpnp/class.c [iso-8859-1] Mon Apr 25 22:47:45 2016
@@ -803,13 +803,13 @@
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 @@
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);