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

This commit is contained in:
Alexander Morozov 2008-07-29 16:52:57 +04:00 committed by Alexandre Julliard
parent 478e64f549
commit 217af4e7b9
3 changed files with 35 additions and 3 deletions

View File

@ -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.@)
*/

View File

@ -311,7 +311,7 @@
@ stub IoAllocateController
@ stub IoAllocateDriverObjectExtension
@ stub IoAllocateErrorLogEntry
@ stub IoAllocateIrp
@ stdcall IoAllocateIrp(long long)
@ stdcall IoAllocateMdl(ptr long long long ptr)
@ stdcall IoAllocateWorkItem(ptr)
@ stub IoAssignResources
@ -370,7 +370,7 @@
@ stub IoForwardIrpSynchronously
@ stub IoFreeController
@ stub IoFreeErrorLogEntry
@ stub IoFreeIrp
@ stdcall IoFreeIrp(ptr)
@ stub IoFreeMdl
@ stub IoFreeWorkItem
@ stub IoGetAttachedDevice
@ -397,7 +397,7 @@
@ stub IoGetRequestorSessionId
@ stub IoGetStackLimits
@ stub IoGetTopLevelIrp
@ stub IoInitializeIrp
@ stdcall IoInitializeIrp(ptr long long)
@ stub IoInitializeRemoveLockEx
@ stub IoInitializeTimer
@ stub IoInvalidateDeviceRelations

View File

@ -932,13 +932,16 @@ PVOID WINAPI ExAllocatePoolWithQuotaTag(POOL_TYPE,SIZE_T,ULONG);
void WINAPI ExFreePool(PVOID);
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 IoCreateDriver(UNICODE_STRING*,PDRIVER_INITIALIZE);
NTSTATUS WINAPI IoCreateSymbolicLink(UNICODE_STRING*,UNICODE_STRING*);
void WINAPI IoDeleteDevice(DEVICE_OBJECT*);
void WINAPI IoDeleteDriver(DRIVER_OBJECT*);
NTSTATUS WINAPI IoDeleteSymbolicLink(UNICODE_STRING*);
void WINAPI IoFreeIrp(IRP*);
PEPROCESS WINAPI IoGetCurrentProcess(void);
void WINAPI IoInitializeIrp(IRP*,USHORT,CCHAR);
PKTHREAD WINAPI KeGetCurrentThread(void);
void WINAPI KeQuerySystemTime(LARGE_INTEGER*);