Commit e934e746 authored by Etaash Mathamsetty's avatar Etaash Mathamsetty Committed by Alexandre Julliard

ntoskrnl: Implement IoCreateFileEx.

parent bafb181c
...@@ -4014,6 +4014,19 @@ NTSTATUS WINAPI ZwUnloadDriver( const UNICODE_STRING *service_name ) ...@@ -4014,6 +4014,19 @@ NTSTATUS WINAPI ZwUnloadDriver( const UNICODE_STRING *service_name )
} }
/*********************************************************************** /***********************************************************************
* IoCreateFileEx (NTOSKRNL.EXE.@)
*/
NTSTATUS WINAPI IoCreateFileEx(HANDLE *handle, ACCESS_MASK access, OBJECT_ATTRIBUTES *attr,
IO_STATUS_BLOCK *io, LARGE_INTEGER *alloc_size, ULONG attributes, ULONG sharing,
ULONG disposition, ULONG create_options, VOID *ea_buffer, ULONG ea_length,
CREATE_FILE_TYPE file_type, VOID *parameters, ULONG options, void *driverctx)
{
FIXME(": semi-stub\n");
return NtCreateFile(handle, access, attr, io, alloc_size, attributes, sharing, disposition,
create_options, ea_buffer, ea_length);
}
/***********************************************************************
* IoCreateFile (NTOSKRNL.EXE.@) * IoCreateFile (NTOSKRNL.EXE.@)
*/ */
NTSTATUS WINAPI IoCreateFile(HANDLE *handle, ACCESS_MASK access, OBJECT_ATTRIBUTES *attr, NTSTATUS WINAPI IoCreateFile(HANDLE *handle, ACCESS_MASK access, OBJECT_ATTRIBUTES *attr,
...@@ -4021,8 +4034,9 @@ NTSTATUS WINAPI IoCreateFile(HANDLE *handle, ACCESS_MASK access, OBJECT_ATTRIBUT ...@@ -4021,8 +4034,9 @@ NTSTATUS WINAPI IoCreateFile(HANDLE *handle, ACCESS_MASK access, OBJECT_ATTRIBUT
ULONG disposition, ULONG create_options, VOID *ea_buffer, ULONG ea_length, ULONG disposition, ULONG create_options, VOID *ea_buffer, ULONG ea_length,
CREATE_FILE_TYPE file_type, VOID *parameters, ULONG options ) CREATE_FILE_TYPE file_type, VOID *parameters, ULONG options )
{ {
FIXME(": stub\n"); FIXME(": semi-stub\n");
return STATUS_NOT_IMPLEMENTED; return IoCreateFileEx(handle, access, attr, io, alloc_size, attributes, sharing, disposition,
create_options, ea_buffer, ea_length, file_type, parameters, options, NULL);
} }
/*********************************************************************** /***********************************************************************
......
...@@ -357,6 +357,7 @@ ...@@ -357,6 +357,7 @@
@ stdcall IoCreateDeviceSecure(ptr long ptr long long long ptr ptr ptr) @ stdcall IoCreateDeviceSecure(ptr long ptr long long long ptr ptr ptr)
@ stub IoCreateDisk @ stub IoCreateDisk
@ stdcall IoCreateDriver(ptr ptr) @ stdcall IoCreateDriver(ptr ptr)
@ stdcall IoCreateFileEx(ptr long ptr ptr ptr long long long long ptr long long ptr long ptr)
@ stdcall IoCreateFile(ptr long ptr ptr ptr long long long long ptr long long ptr long) @ stdcall IoCreateFile(ptr long ptr ptr ptr long long long long ptr long long ptr long)
@ stub IoCreateFileSpecifyDeviceObjectHint @ stub IoCreateFileSpecifyDeviceObjectHint
@ stdcall IoCreateNotificationEvent(ptr ptr) @ stdcall IoCreateNotificationEvent(ptr ptr)
......
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