Commit 217af4e7 authored by Alexander Morozov's avatar Alexander Morozov Committed by Alexandre Julliard

ntoskrnl.exe: Add stubs for IoAllocateIrp, IoInitializeIrp and IoFreeIrp.

parent 478e64f5
...@@ -247,6 +247,35 @@ NTSTATUS wine_ntoskrnl_main_loop( HANDLE stop_event ) ...@@ -247,6 +247,35 @@ NTSTATUS wine_ntoskrnl_main_loop( HANDLE stop_event )
} }
} }
/***********************************************************************
* IoInitializeIrp (NTOSKRNL.EXE.@)
*/
void WINAPI IoInitializeIrp( IRP *irp, USHORT size, CCHAR stack_size )
{
FIXME( "%p, %u, %d\n", irp, size, stack_size );
}
/***********************************************************************
* IoAllocateIrp (NTOSKRNL.EXE.@)
*/
PIRP WINAPI IoAllocateIrp( CCHAR stack_size, BOOLEAN charge_quota )
{
FIXME( "%d, %d\n", stack_size, charge_quota );
return NULL;
}
/***********************************************************************
* IoFreeIrp (NTOSKRNL.EXE.@)
*/
void WINAPI IoFreeIrp( IRP *irp )
{
FIXME( "%p\n", irp );
}
/*********************************************************************** /***********************************************************************
* IoAllocateMdl (NTOSKRNL.EXE.@) * IoAllocateMdl (NTOSKRNL.EXE.@)
*/ */
......
...@@ -311,7 +311,7 @@ ...@@ -311,7 +311,7 @@
@ stub IoAllocateController @ stub IoAllocateController
@ stub IoAllocateDriverObjectExtension @ stub IoAllocateDriverObjectExtension
@ stub IoAllocateErrorLogEntry @ stub IoAllocateErrorLogEntry
@ stub IoAllocateIrp @ stdcall IoAllocateIrp(long long)
@ stdcall IoAllocateMdl(ptr long long long ptr) @ stdcall IoAllocateMdl(ptr long long long ptr)
@ stdcall IoAllocateWorkItem(ptr) @ stdcall IoAllocateWorkItem(ptr)
@ stub IoAssignResources @ stub IoAssignResources
...@@ -370,7 +370,7 @@ ...@@ -370,7 +370,7 @@
@ stub IoForwardIrpSynchronously @ stub IoForwardIrpSynchronously
@ stub IoFreeController @ stub IoFreeController
@ stub IoFreeErrorLogEntry @ stub IoFreeErrorLogEntry
@ stub IoFreeIrp @ stdcall IoFreeIrp(ptr)
@ stub IoFreeMdl @ stub IoFreeMdl
@ stub IoFreeWorkItem @ stub IoFreeWorkItem
@ stub IoGetAttachedDevice @ stub IoGetAttachedDevice
...@@ -397,7 +397,7 @@ ...@@ -397,7 +397,7 @@
@ stub IoGetRequestorSessionId @ stub IoGetRequestorSessionId
@ stub IoGetStackLimits @ stub IoGetStackLimits
@ stub IoGetTopLevelIrp @ stub IoGetTopLevelIrp
@ stub IoInitializeIrp @ stdcall IoInitializeIrp(ptr long long)
@ stub IoInitializeRemoveLockEx @ stub IoInitializeRemoveLockEx
@ stub IoInitializeTimer @ stub IoInitializeTimer
@ stub IoInvalidateDeviceRelations @ stub IoInvalidateDeviceRelations
......
...@@ -932,13 +932,16 @@ PVOID WINAPI ExAllocatePoolWithQuotaTag(POOL_TYPE,SIZE_T,ULONG); ...@@ -932,13 +932,16 @@ PVOID WINAPI ExAllocatePoolWithQuotaTag(POOL_TYPE,SIZE_T,ULONG);
void WINAPI ExFreePool(PVOID); void WINAPI ExFreePool(PVOID);
void WINAPI ExFreePoolWithTag(PVOID,ULONG); void WINAPI ExFreePoolWithTag(PVOID,ULONG);
PIRP WINAPI IoAllocateIrp(CCHAR,BOOLEAN);
NTSTATUS WINAPI IoCreateDevice(DRIVER_OBJECT*,ULONG,UNICODE_STRING*,DEVICE_TYPE,ULONG,BOOLEAN,DEVICE_OBJECT**); NTSTATUS WINAPI IoCreateDevice(DRIVER_OBJECT*,ULONG,UNICODE_STRING*,DEVICE_TYPE,ULONG,BOOLEAN,DEVICE_OBJECT**);
NTSTATUS WINAPI IoCreateDriver(UNICODE_STRING*,PDRIVER_INITIALIZE); NTSTATUS WINAPI IoCreateDriver(UNICODE_STRING*,PDRIVER_INITIALIZE);
NTSTATUS WINAPI IoCreateSymbolicLink(UNICODE_STRING*,UNICODE_STRING*); NTSTATUS WINAPI IoCreateSymbolicLink(UNICODE_STRING*,UNICODE_STRING*);
void WINAPI IoDeleteDevice(DEVICE_OBJECT*); void WINAPI IoDeleteDevice(DEVICE_OBJECT*);
void WINAPI IoDeleteDriver(DRIVER_OBJECT*); void WINAPI IoDeleteDriver(DRIVER_OBJECT*);
NTSTATUS WINAPI IoDeleteSymbolicLink(UNICODE_STRING*); NTSTATUS WINAPI IoDeleteSymbolicLink(UNICODE_STRING*);
void WINAPI IoFreeIrp(IRP*);
PEPROCESS WINAPI IoGetCurrentProcess(void); PEPROCESS WINAPI IoGetCurrentProcess(void);
void WINAPI IoInitializeIrp(IRP*,USHORT,CCHAR);
PKTHREAD WINAPI KeGetCurrentThread(void); PKTHREAD WINAPI KeGetCurrentThread(void);
void WINAPI KeQuerySystemTime(LARGE_INTEGER*); void WINAPI KeQuerySystemTime(LARGE_INTEGER*);
......
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