mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 19:01:48 +00:00
[CLASSPNP] Fix MSVC build. Brought to you by Timo.
svn path=/trunk/; revision=71183
This commit is contained in:
parent
66d24776ff
commit
e85488750c
1 changed files with 3 additions and 3 deletions
|
@ -804,12 +804,12 @@ ClassDispatchPnp(
|
|||
status = devInfo->ClassStopDevice(DeviceObject,
|
||||
irpStack->MinorFunction);
|
||||
ASSERTMSG("ClassDispatchPnp !! CANCEL_STOP_DEVICE should "
|
||||
"never be failed\n", NT_SUCCESS(status));
|
||||
L"never be failed\n", NT_SUCCESS(status));
|
||||
} else {
|
||||
status = devInfo->ClassRemoveDevice(DeviceObject,
|
||||
irpStack->MinorFunction);
|
||||
ASSERTMSG("ClassDispatchPnp !! CANCEL_REMOVE_DEVICE should "
|
||||
"never be failed\n", NT_SUCCESS(status));
|
||||
L"never be failed\n", NT_SUCCESS(status));
|
||||
}
|
||||
|
||||
Irp->IoStatus.Status = status;
|
||||
|
@ -877,7 +877,7 @@ ClassDispatchPnp(
|
|||
status = devInfo->ClassStopDevice(DeviceObject, IRP_MN_STOP_DEVICE);
|
||||
|
||||
ASSERTMSG("ClassDispatchPnp !! STOP_DEVICE should "
|
||||
"never be failed\n", NT_SUCCESS(status));
|
||||
L"never be failed\n", NT_SUCCESS(status));
|
||||
|
||||
if(isFdo) {
|
||||
status = ClassForwardIrpSynchronous(commonExtension, Irp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue