mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
ntoskrnl.exe: Implement IoCallDriver.
This commit is contained in:
parent
189335441e
commit
242370b836
2 changed files with 18 additions and 8 deletions
|
@ -632,14 +632,9 @@ NTSTATUS WINAPI IoGetDeviceObjectPointer( UNICODE_STRING *name, ACCESS_MASK acc
|
|||
|
||||
|
||||
/***********************************************************************
|
||||
* IofCallDriver (NTOSKRNL.EXE.@)
|
||||
* IoCallDriver (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
|
||||
NTSTATUS WINAPI IoCallDriver( DEVICE_OBJECT *device, IRP *irp )
|
||||
{
|
||||
PDRIVER_DISPATCH dispatch;
|
||||
IO_STACK_LOCATION *irpsp;
|
||||
|
@ -656,6 +651,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.@)
|
||||
*/
|
||||
|
|
|
@ -323,7 +323,7 @@
|
|||
@ stdcall IoBuildDeviceIoControlRequest(long ptr ptr long ptr long long ptr ptr)
|
||||
@ stub IoBuildPartialMdl
|
||||
@ stub IoBuildSynchronousFsdRequest
|
||||
@ stub IoCallDriver
|
||||
@ stdcall IoCallDriver(ptr ptr)
|
||||
@ stub IoCancelFileOpen
|
||||
@ stub IoCancelIrp
|
||||
@ stub IoCheckDesiredAccess
|
||||
|
|
Loading…
Reference in a new issue