Added (io/create.c) IoCreateFile stub.

svn path=/trunk/; revision=904
This commit is contained in:
Emanuele Aliberti 1999-12-26 20:21:03 +00:00
parent ea5959a772
commit 38d1018911
6 changed files with 58 additions and 6 deletions

View file

@ -1,4 +1,4 @@
/* $Id: buildno.c,v 1.1 1999/11/07 08:03:21 ea Exp $
/* $Id: buildno.c,v 1.2 1999/12/26 20:21:02 ea Exp $
*
* buildno - Generate the build number for ReactOS
*
@ -10,7 +10,7 @@
*
* KERNEL_RELEASE_DATE
*
* as a 32-bit unsigned long YYYYDDMM (UTC).
* as a 32-bit unsigned long YYYYMMDD (UTC).
*
* The build number is the number of full days
* elapsed since the last release date (UTC).

View file

@ -1,3 +1,4 @@
/* $Id: iofuncs.h,v 1.5 1999/12/26 20:21:02 ea Exp $ */
/* IO MANAGER ***************************************************************/
BOOLEAN
@ -362,7 +363,24 @@ IoCreateDevice (
PDEVICE_OBJECT * DeviceObject
);
NTSTATUS
STDCALL
IoCreateFile (
OUT PHANDLE FileHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
OUT PIO_STATUS_BLOCK IoStatusBlock,
IN PLARGE_INTEGER AllocationSize OPTIONAL,
IN ULONG FileAttributes,
IN ULONG ShareAccess,
IN ULONG CreateDisposition,
IN ULONG CreateOptions,
IN PVOID EaBuffer OPTIONAL,
IN ULONG EaLength,
IN CREATE_FILE_TYPE CreateFileType,
IN ULONG ExtraCreateParameters,
IN ULONG Options
);
PKEVENT
IoCreateNotificationEvent (
PUNICODE_STRING EventName,

View file

@ -1,4 +1,4 @@
/*
/* $Id: iotypes.h,v 1.9 1999/12/26 20:21:02 ea Exp $
*
*/
@ -22,6 +22,15 @@ enum
KeepObject,
};
typedef enum _CREATE_FILE_TYPE
{
CreateFileTypeNone,
CreateFileTypeNamedPipe,
CreateFileTypeMailslot
} CREATE_FILE_TYPE;
typedef ULONG INTERFACE_TYPE;
typedef INTERFACE_TYPE* PINTERFACE_TYPE;

View file

@ -27,6 +27,29 @@ NTSTATUS STDCALL NtDeleteFile(IN POBJECT_ATTRIBUTES ObjectAttributes)
}
NTSTATUS
STDCALL
IoCreateFile (
OUT PHANDLE FileHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes,
OUT PIO_STATUS_BLOCK IoStatusBlock,
IN PLARGE_INTEGER AllocationSize OPTIONAL,
IN ULONG FileAttributes,
IN ULONG ShareAccess,
IN ULONG CreateDisposition,
IN ULONG CreateOptions,
IN PVOID EaBuffer OPTIONAL,
IN ULONG EaLength,
IN CREATE_FILE_TYPE CreateFileType,
IN ULONG ExtraCreateParameters,
IN ULONG Options
)
{
UNIMPLEMENTED;
}
NTSTATUS IopCreateFile(PVOID ObjectBody,
PVOID Parent,
PWSTR RemainingPath,

View file

@ -1,4 +1,4 @@
; $Id: ntoskrnl.def,v 1.33 1999/12/26 16:36:44 ea Exp $
; $Id: ntoskrnl.def,v 1.34 1999/12/26 20:21:02 ea Exp $
;
; reactos/ntoskrnl/ntoskrnl.def
;
@ -106,6 +106,7 @@ IoCompleteRequest
IoConnectInterrupt
IoCreateController
IoCreateDevice
IoCreateFile@56
IoCreateStreamFileObject
IoCreateSymbolicLink@8
IoDeleteController

View file

@ -1,4 +1,4 @@
; $Id: ntoskrnl.edf,v 1.20 1999/12/26 16:36:44 ea Exp $
; $Id: ntoskrnl.edf,v 1.21 1999/12/26 20:21:02 ea Exp $
;
; reactos/ntoskrnl/ntoskrnl.def
;
@ -106,6 +106,7 @@ IoCompleteRequest
IoConnectInterrupt
IoCreateController
IoCreateDevice
IoCreateFile=IoCreateFile@56
IoCreateStreamFileObject
IoCreateSymbolicLink=IoCreateSymbolicLink@8
IoDeleteController