From c9ee23ed15a61e009a43d3ac4b4102bbea6d3d60 Mon Sep 17 00:00:00 2001 From: Gunnar Dalsnes Date: Wed, 19 Nov 2003 20:57:22 +0000 Subject: [PATCH] -IoReuseIrp impl. -Added missing define svn path=/trunk/; revision=6716 --- reactos/include/ddk/iodef.h | 4 ++++ reactos/include/ddk/iofuncs.h | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/reactos/include/ddk/iodef.h b/reactos/include/ddk/iodef.h index c133f6cc46d..cc4a9e9821e 100644 --- a/reactos/include/ddk/iodef.h +++ b/reactos/include/ddk/iodef.h @@ -390,6 +390,10 @@ enum #define FILE_VALID_MAILSLOT_OPTION_FLAGS 0x00000032 #define FILE_VALID_SET_FLAGS 0x00001036 +/* + * special ByteOffset values + */ +#define FILE_USE_FILE_POINTER_POSITION 0xfffffffe typedef ULONG FS_INFORMATION_CLASS, *PFS_INFORMATION_CLASS; diff --git a/reactos/include/ddk/iofuncs.h b/reactos/include/ddk/iofuncs.h index 78193751ac7..a2138deabdb 100644 --- a/reactos/include/ddk/iofuncs.h +++ b/reactos/include/ddk/iofuncs.h @@ -1,6 +1,6 @@ #ifndef _INCLUDE_DDK_IOFUNCS_H #define _INCLUDE_DDK_IOFUNCS_H -/* $Id: iofuncs.h,v 1.40 2003/11/14 15:19:35 ekohl Exp $ */ +/* $Id: iofuncs.h,v 1.41 2003/11/19 20:57:22 gdalsnes Exp $ */ #ifdef __NTOSKRNL__ extern POBJECT_TYPE EXPORTED IoAdapterObjectType; @@ -754,6 +754,13 @@ IoInitializeIrp ( USHORT PacketSize, CCHAR StackSize ); + +VOID STDCALL +IoReuseIrp( + IN OUT PIRP Irp, + IN NTSTATUS Status + ); + NTSTATUS STDCALL IoInitializeTimer (