https://bugs.winehq.org/show_bug.cgi?id=51939
Etaash Mathamsetty etaash.mathamsetty@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |etaash.mathamsetty@gmail.co | |m
--- Comment #1 from Etaash Mathamsetty etaash.mathamsetty@gmail.com --- I found a really easy way to implement both functions, you can use NtCreateFile and it basically covers 70-80% of what IoCreateFileEx can do!
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* DriverContext ) { 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, 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 ) { 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); }