Author: tfaber
Date: Sun Apr 30 19:24:53 2017
New Revision: 74436
URL:
http://svn.reactos.org/svn/reactos?rev=74436&view=rev
Log:
[NTOS:IO]
- Fix some extremely broken casts
Modified:
trunk/reactos/ntoskrnl/io/iomgr/error.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/error.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/error.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/error.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/error.c [iso-8859-1] Sun Apr 30 19:24:53 2017
@@ -486,11 +486,7 @@
VOID
NTAPI
-IopFreeApc(IN PKAPC Apc,
- IN PKNORMAL_ROUTINE *NormalRoutine,
- IN PVOID *NormalContext,
- IN PVOID *SystemArgument1,
- IN PVOID *SystemArgument2)
+IopFreeApc(IN PKAPC Apc)
{
/* Free the APC */
ExFreePool(Apc);
@@ -498,15 +494,13 @@
VOID
NTAPI
-IopRaiseHardError(IN PKAPC Apc,
- IN PKNORMAL_ROUTINE *NormalRoutine,
- IN PVOID *NormalContext,
- IN PVOID *SystemArgument1,
- IN PVOID *SystemArgument2)
-{
- PIRP Irp = (PIRP)NormalContext;
- //PVPB Vpb = (PVPB)SystemArgument1;
- //PDEVICE_OBJECT DeviceObject = (PDEVICE_OBJECT)SystemArgument2;
+IopRaiseHardError(IN PVOID NormalContext,
+ IN PVOID SystemArgument1,
+ IN PVOID SystemArgument2)
+{
+ PIRP Irp = NormalContext;
+ //PVPB Vpb = SystemArgument1;
+ //PDEVICE_OBJECT DeviceObject = SystemArgument2;
UNIMPLEMENTED;
@@ -683,8 +677,8 @@
&Thread->Tcb,
Irp->ApcEnvironment,
NULL,
- (PKRUNDOWN_ROUTINE)IopFreeApc,
- (PKNORMAL_ROUTINE)IopRaiseHardError,
+ IopFreeApc,
+ IopRaiseHardError,
KernelMode,
Irp);