mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 01:15:42 +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,12 +803,12 @@ 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);
|
||||||
ASSERTMSGW(L"ClassDispatchPnp !! CANCEL_STOP_DEVICE should "
|
NT_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);
|
||||||
ASSERTMSGW(L"ClassDispatchPnp !! CANCEL_REMOVE_DEVICE should "
|
NT_ASSERTMSGW(L"ClassDispatchPnp !! CANCEL_REMOVE_DEVICE should "
|
||||||
L"never be failed\n", NT_SUCCESS(status));
|
L"never be failed\n", NT_SUCCESS(status));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -876,7 +876,7 @@ ClassDispatchPnp(
|
||||||
|
|
||||||
status = devInfo->ClassStopDevice(DeviceObject, IRP_MN_STOP_DEVICE);
|
status = devInfo->ClassStopDevice(DeviceObject, IRP_MN_STOP_DEVICE);
|
||||||
|
|
||||||
ASSERTMSGW(L"ClassDispatchPnp !! STOP_DEVICE should "
|
NT_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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue