Commit a8222a04 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

ntoskrnl.exe: Add IoCreateFile stub.

parent 289d032e
......@@ -3159,3 +3159,15 @@ BOOL WINAPI KeSetTimerEx( KTIMER *timer, LARGE_INTEGER duetime, LONG period, KDP
FIXME("stub: %p %s %u %p\n", timer, wine_dbgstr_longlong(duetime.QuadPart), period, dpc);
return TRUE;
}
/***********************************************************************
* 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(": stub\n");
return STATUS_NOT_IMPLEMENTED;
}
......@@ -339,7 +339,7 @@
@ stdcall IoCreateDevice(ptr long ptr long long long ptr)
@ stub IoCreateDisk
@ stdcall IoCreateDriver(ptr ptr)
@ stub IoCreateFile
@ stdcall IoCreateFile(ptr long ptr ptr long long long ptr long long ptr long ptr long)
@ stub IoCreateFileSpecifyDeviceObjectHint
@ stub IoCreateNotificationEvent
@ stub IoCreateStreamFileObject
......
......@@ -737,6 +737,12 @@ typedef enum _BUS_QUERY_ID_TYPE {
BusQueryDeviceSerialNumber
} BUS_QUERY_ID_TYPE, *PBUS_QUERY_ID_TYPE;
typedef enum _CREATE_FILE_TYPE {
CreateFileTypeNone,
CreateFileTypeNamedPipe,
CreateFileTypeMailslot
} CREATE_FILE_TYPE;
typedef enum {
DevicePropertyDeviceDescription,
DevicePropertyHardwareID,
......
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