Alistair Leslie-Hughes : kernel32: Add DequeueUmsCompletionListItems stub.

Alexandre Julliard julliard at winehq.org
Mon Mar 5 16:14:31 CST 2018


Module: wine
Branch: master
Commit: 70c8126ffcab325f17083a140158c181a26580cf
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=70c8126ffcab325f17083a140158c181a26580cf

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Mon Mar  5 03:59:59 2018 +0000

kernel32: Add DequeueUmsCompletionListItems stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/kernel32/kernel32.spec |  2 +-
 dlls/kernel32/process.c     | 10 ++++++++++
 include/winbase.h           |  1 +
 3 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index c780e3a..86edcfd 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -377,7 +377,7 @@
 @ stdcall -arch=x86_64 DeleteUmsThreadContext(ptr)
 @ stdcall DeleteVolumeMountPointA(str)
 @ stdcall DeleteVolumeMountPointW(wstr)
-# @ stub -arch=x86_64 DequeueUmsCompletionListItems
+@ stdcall -arch=x86_64 DequeueUmsCompletionListItems(ptr long ptr)
 @ stdcall DeviceIoControl(long long ptr long ptr long ptr ptr)
 @ stdcall DisableThreadLibraryCalls(long)
 @ stdcall DisconnectNamedPipe(long)
diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
index dffc60d..63de750 100644
--- a/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -4272,6 +4272,16 @@ BOOL WINAPI DeleteUmsThreadContext(PUMS_CONTEXT ctx)
     return FALSE;
 }
 
+/***********************************************************************
+ *           DequeueUmsCompletionListItems   (KERNEL32.@)
+ */
+BOOL WINAPI DequeueUmsCompletionListItems(void *list, DWORD timeout, PUMS_CONTEXT *ctx)
+{
+    FIXME( "%p,%08x,%p: stub\n", list, timeout, ctx );
+    SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
+    return FALSE;
+}
+
 /**********************************************************************
  *           BaseFlushAppcompatCache     (KERNEL32.@)
  */
diff --git a/include/winbase.h b/include/winbase.h
index f39d659..7d0eaa6 100644
--- a/include/winbase.h
+++ b/include/winbase.h
@@ -1916,6 +1916,7 @@ WINBASEAPI BOOL        WINAPI DeleteUmsThreadContext(PUMS_CONTEXT);
 WINBASEAPI BOOL        WINAPI DeleteVolumeMountPointA(LPCSTR);
 WINBASEAPI BOOL        WINAPI DeleteVolumeMountPointW(LPCWSTR);
 #define                       DeleteVolumeMountPoint WINELIB_NAME_AW(DeleteVolumeMountPoint)
+WINBASEAPI BOOL        WINAPI DequeueUmsCompletionListItems(void *, DWORD, PUMS_CONTEXT *);
 WINADVAPI  BOOL        WINAPI DeregisterEventSource(HANDLE);
 WINADVAPI  BOOL        WINAPI DestroyPrivateObjectSecurity(PSECURITY_DESCRIPTOR*);
 WINBASEAPI BOOL        WINAPI DeviceIoControl(HANDLE,DWORD,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,LPOVERLAPPED);




More information about the wine-cvs mailing list