[pkg-wine-party] [wine] 249/434: ntoskrnl.exe: Add IoCreateFile stub.

Michael Gilbert mgilbert at moszumanska.debian.org
Sun Feb 5 19:23:02 UTC 2017


This is an automated email from the git hooks/post-receive script.

mgilbert pushed a commit to branch master
in repository wine.

commit a8222a0437441fc3cb83413c869259b860faf46d
Author: Austin English <austinenglish at gmail.com>
Date:   Wed Jan 18 17:24:31 2017 -0600

    ntoskrnl.exe: Add IoCreateFile stub.
    
    Signed-off-by: Austin English <austinenglish at gmail.com>
    Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
 dlls/ntoskrnl.exe/ntoskrnl.c        | 12 ++++++++++++
 dlls/ntoskrnl.exe/ntoskrnl.exe.spec |  2 +-
 include/ddk/wdm.h                   |  6 ++++++
 3 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index 7527659..1ab3a4e 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -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;
+}
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
index bc37a76..bd02586 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
@@ -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
diff --git a/include/ddk/wdm.h b/include/ddk/wdm.h
index 95de8d0..4c696f7 100644
--- a/include/ddk/wdm.h
+++ b/include/ddk/wdm.h
@@ -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,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git



More information about the pkg-wine-party mailing list