[PATCH 04/14] kernel32: Add DeleteUmsCompletionList stub

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Sun Mar 4 21:59:57 CST 2018


Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 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 6c4804c..7a2a6ab 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -373,7 +373,7 @@
 @ stdcall DeleteTimerQueue(long)
 @ stdcall DeleteTimerQueueEx (long long)
 @ stdcall DeleteTimerQueueTimer(long long long)
-# @ stub -arch=x86_64 DeleteUmsCompletionList
+@ stdcall -arch=x86_64 DeleteUmsCompletionList(ptr)
 # @ stub -arch=x86_64 DeleteUmsThreadContext
 @ stdcall DeleteVolumeMountPointA(str)
 @ stdcall DeleteVolumeMountPointW(wstr)
diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
index 4075cbf..f5069f4 100644
--- a/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -4252,6 +4252,16 @@ void WINAPI DeleteProcThreadAttributeList(struct _PROC_THREAD_ATTRIBUTE_LIST *li
     return;
 }
 
+/***********************************************************************
+ *           DeleteUmsCompletionList   (KERNEL32.@)
+ */
+BOOL WINAPI DeleteUmsCompletionList(PUMS_COMPLETION_LIST list)
+{
+    FIXME( "%p: stub\n", list );
+    SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
+    return FALSE;
+}
+
 /**********************************************************************
  *           BaseFlushAppcompatCache     (KERNEL32.@)
  */
diff --git a/include/winbase.h b/include/winbase.h
index d891b04..69d97c9 100644
--- a/include/winbase.h
+++ b/include/winbase.h
@@ -1911,6 +1911,7 @@ WINBASEAPI void        WINAPI DeleteProcThreadAttributeList(struct _PROC_THREAD_
 WINBASEAPI BOOL        WINAPI DeleteTimerQueue(HANDLE);
 WINBASEAPI BOOL        WINAPI DeleteTimerQueueEx(HANDLE,HANDLE);
 WINBASEAPI BOOL        WINAPI DeleteTimerQueueTimer(HANDLE,HANDLE,HANDLE);
+WINBASEAPI BOOL        WINAPI DeleteUmsCompletionList(PUMS_COMPLETION_LIST);
 WINBASEAPI BOOL        WINAPI DeleteVolumeMountPointA(LPCSTR);
 WINBASEAPI BOOL        WINAPI DeleteVolumeMountPointW(LPCWSTR);
 #define                       DeleteVolumeMountPoint WINELIB_NAME_AW(DeleteVolumeMountPoint)
-- 
1.9.1




More information about the wine-devel mailing list