From 6244c47ebf17ebcd1328dcfe7091c1fdcaafb98c Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sat, 11 Sep 2004 03:52:18 +0000 Subject: [PATCH] - Define FILE_USE_FILE_POINTER_POSITION and FILE_WRITE_TO_END_OF_FILE. - Correct prototype of PFAST_IO_UNLOCK_ALL_BY_KEY. svn path=/trunk/; revision=10819 --- reactos/w32api/include/ddk/winddk.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/reactos/w32api/include/ddk/winddk.h b/reactos/w32api/include/ddk/winddk.h index 90a55f84797..027bed849d1 100644 --- a/reactos/w32api/include/ddk/winddk.h +++ b/reactos/w32api/include/ddk/winddk.h @@ -178,6 +178,9 @@ typedef struct _DRIVE_LAYOUT_INFORMATION_EX *PDRIVE_LAYOUT_INFORMATION_EX; #define FILE_EXISTS 0x00000004 #define FILE_DOES_NOT_EXIST 0x00000005 +#define FILE_USE_FILE_POINTER_POSITION 0xfffffffe +#define FILE_WRITE_TO_END_OF_FILE 0xffffffff + /* also in winnt.h */ #define FILE_LIST_DIRECTORY 0x00000001 #define FILE_READ_DATA 0x00000001 @@ -2165,7 +2168,7 @@ typedef BOOLEAN DDKAPI typedef BOOLEAN DDKAPI (*PFAST_IO_UNLOCK_ALL_BY_KEY)( IN struct _FILE_OBJECT *FileObject, - PVOID ProcessId, + PEPROCESS ProcessId, ULONG Key, OUT PIO_STATUS_BLOCK IoStatus, IN struct _DEVICE_OBJECT *DeviceObject);