Nikolay Sivov : shcore: Add AppUserModelID stubs.

Alexandre Julliard julliard at winehq.org
Mon Nov 26 16:20:10 CST 2018


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Nov 26 11:53:11 2018 +0300

shcore: Add AppUserModelID stubs.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 aa513ee..ccea518 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 dac4274..2f3ca99 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




More information about the wine-cvs mailing list