Alistair Leslie-Hughes : kernel32: Add DeleteUmsThreadContext stub.

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


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

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

kernel32: Add DeleteUmsThreadContext 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 7a2a6ab..c780e3a 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -374,7 +374,7 @@
 @ stdcall DeleteTimerQueueEx (long long)
 @ stdcall DeleteTimerQueueTimer(long long long)
 @ stdcall -arch=x86_64 DeleteUmsCompletionList(ptr)
-# @ stub -arch=x86_64 DeleteUmsThreadContext
+@ stdcall -arch=x86_64 DeleteUmsThreadContext(ptr)
 @ stdcall DeleteVolumeMountPointA(str)
 @ stdcall DeleteVolumeMountPointW(wstr)
 # @ stub -arch=x86_64 DequeueUmsCompletionListItems
diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
index f5069f4..dffc60d 100644
--- a/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -4262,6 +4262,16 @@ BOOL WINAPI DeleteUmsCompletionList(PUMS_COMPLETION_LIST list)
     return FALSE;
 }
 
+/***********************************************************************
+ *           DeleteUmsThreadContext   (KERNEL32.@)
+ */
+BOOL WINAPI DeleteUmsThreadContext(PUMS_CONTEXT ctx)
+{
+    FIXME( "%p: stub\n", ctx );
+    SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
+    return FALSE;
+}
+
 /**********************************************************************
  *           BaseFlushAppcompatCache     (KERNEL32.@)
  */
diff --git a/include/winbase.h b/include/winbase.h
index 69d97c9..f39d659 100644
--- a/include/winbase.h
+++ b/include/winbase.h
@@ -1912,6 +1912,7 @@ 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 DeleteUmsThreadContext(PUMS_CONTEXT);
 WINBASEAPI BOOL        WINAPI DeleteVolumeMountPointA(LPCSTR);
 WINBASEAPI BOOL        WINAPI DeleteVolumeMountPointW(LPCWSTR);
 #define                       DeleteVolumeMountPoint WINELIB_NAME_AW(DeleteVolumeMountPoint)




More information about the wine-cvs mailing list