[PATCH 2/4] shcore: Add AppUserModelID stubs.

Nikolay Sivov nsivov at codeweavers.com
Mon Nov 26 02:53:11 CST 2018


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/shcore/main.c      | 13 +++++++++++++
 dlls/shcore/shcore.spec |  4 ++--
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/dlls/shcore/main.c b/dlls/shcore/main.c
index aa513ee09d..ccea518f88 100644
--- a/dlls/shcore/main.c
+++ b/dlls/shcore/main.c
@@ -221,3 +221,16 @@ HRESULT WINAPI IUnknown_SetSite(IUnknown *obj, IUnknown *site)
 
     return hr;
 }
+
+HRESULT WINAPI SetCurrentProcessExplicitAppUserModelID(const WCHAR *appid)
+{
+    FIXME("%s: stub\n", debugstr_w(appid));
+    return E_NOTIMPL;
+}
+
+HRESULT WINAPI GetCurrentProcessExplicitAppUserModelID(const WCHAR **appid)
+{
+    FIXME("%p: stub\n", appid);
+    *appid = NULL;
+    return E_NOTIMPL;
+}
diff --git a/dlls/shcore/shcore.spec b/dlls/shcore/shcore.spec
index dac4274e49..2f3ca9925b 100644
--- a/dlls/shcore/shcore.spec
+++ b/dlls/shcore/shcore.spec
@@ -6,7 +6,7 @@
 @ stub DllCanUnloadNow
 @ stub DllGetActivationFactory
 @ stub DllGetClassObject
-@ stdcall GetCurrentProcessExplicitAppUserModelID(ptr) shell32.GetCurrentProcessExplicitAppUserModelID
+@ stdcall GetCurrentProcessExplicitAppUserModelID(ptr)
 @ stdcall GetDpiForMonitor(long long ptr ptr)
 @ stub GetDpiForShellUIComponent
 @ stdcall GetProcessDpiAwareness(long ptr)
@@ -77,7 +77,7 @@
 @ stdcall SHStrDupW(wstr ptr) shlwapi.SHStrDupW
 @ stdcall SHUnicodeToAnsi(wstr ptr ptr) shlwapi.SHUnicodeToAnsi
 @ stdcall SHUnicodeToUnicode(wstr ptr long) shlwapi.SHUnicodeToUnicode
-@ stdcall SetCurrentProcessExplicitAppUserModelID(wstr) shell32.SetCurrentProcessExplicitAppUserModelID
+@ stdcall SetCurrentProcessExplicitAppUserModelID(wstr)
 @ stdcall SetProcessDpiAwareness(long)
 @ stub SetProcessReference
 @ stub UnregisterScaleChangeEvent
-- 
2.19.2




More information about the wine-devel mailing list