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 )
}
/***********************************************************************
* 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.@)
*/
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
ULONG disposition, ULONG create_options, VOID *ea_buffer, ULONG ea_length,
CREATE_FILE_TYPE file_type, VOID *parameters, ULONG options )
{
FIXME(": stub\n");
return STATUS_NOT_IMPLEMENTED;
FIXME(": semi-stub\n");
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 @@
@ stdcall IoCreateDeviceSecure(ptr long ptr long long long ptr ptr ptr)
@ stub IoCreateDisk
@ 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)
@ stub IoCreateFileSpecifyDeviceObjectHint
@ 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