Commit 242370b8 authored by Damjan Jovanovic's avatar Damjan Jovanovic Committed by Alexandre Julliard

ntoskrnl.exe: Implement IoCallDriver.

parent 18933544
...@@ -632,14 +632,9 @@ NTSTATUS WINAPI IoGetDeviceObjectPointer( UNICODE_STRING *name, ACCESS_MASK acc ...@@ -632,14 +632,9 @@ NTSTATUS WINAPI IoGetDeviceObjectPointer( UNICODE_STRING *name, ACCESS_MASK acc
/*********************************************************************** /***********************************************************************
* IofCallDriver (NTOSKRNL.EXE.@) * IoCallDriver (NTOSKRNL.EXE.@)
*/ */
#ifdef DEFINE_FASTCALL2_ENTRYPOINT NTSTATUS WINAPI IoCallDriver( DEVICE_OBJECT *device, IRP *irp )
DEFINE_FASTCALL2_ENTRYPOINT( IofCallDriver )
NTSTATUS WINAPI __regs_IofCallDriver( DEVICE_OBJECT *device, IRP *irp )
#else
NTSTATUS WINAPI IofCallDriver( DEVICE_OBJECT *device, IRP *irp )
#endif
{ {
PDRIVER_DISPATCH dispatch; PDRIVER_DISPATCH dispatch;
IO_STACK_LOCATION *irpsp; IO_STACK_LOCATION *irpsp;
...@@ -657,6 +652,21 @@ NTSTATUS WINAPI IofCallDriver( DEVICE_OBJECT *device, IRP *irp ) ...@@ -657,6 +652,21 @@ NTSTATUS WINAPI IofCallDriver( DEVICE_OBJECT *device, IRP *irp )
/*********************************************************************** /***********************************************************************
* IofCallDriver (NTOSKRNL.EXE.@)
*/
#ifdef DEFINE_FASTCALL2_ENTRYPOINT
DEFINE_FASTCALL2_ENTRYPOINT( IofCallDriver )
NTSTATUS WINAPI __regs_IofCallDriver( DEVICE_OBJECT *device, IRP *irp )
#else
NTSTATUS WINAPI IofCallDriver( DEVICE_OBJECT *device, IRP *irp )
#endif
{
TRACE( "%p %p\n", device, irp );
return IoCallDriver( device, irp );
}
/***********************************************************************
* IoGetRelatedDeviceObject (NTOSKRNL.EXE.@) * IoGetRelatedDeviceObject (NTOSKRNL.EXE.@)
*/ */
PDEVICE_OBJECT WINAPI IoGetRelatedDeviceObject( PFILE_OBJECT obj ) PDEVICE_OBJECT WINAPI IoGetRelatedDeviceObject( PFILE_OBJECT obj )
......
...@@ -323,7 +323,7 @@ ...@@ -323,7 +323,7 @@
@ stdcall IoBuildDeviceIoControlRequest(long ptr ptr long ptr long long ptr ptr) @ stdcall IoBuildDeviceIoControlRequest(long ptr ptr long ptr long long ptr ptr)
@ stub IoBuildPartialMdl @ stub IoBuildPartialMdl
@ stub IoBuildSynchronousFsdRequest @ stub IoBuildSynchronousFsdRequest
@ stub IoCallDriver @ stdcall IoCallDriver(ptr ptr)
@ stub IoCancelFileOpen @ stub IoCancelFileOpen
@ stub IoCancelIrp @ stub IoCancelIrp
@ stub IoCheckDesiredAccess @ stub IoCheckDesiredAccess
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment