shell32: add a stub for RegenerateUserEnvironment

Austin English austinenglish at gmail.com
Tue Nov 11 19:41:03 CST 2014


Fixes https://bugs.winehq.org/show_bug.cgi?id=37539

-- 
-Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141111/9d05aebc/attachment.html>
-------------- next part --------------
diff --git a/dlls/shell32/shell32.spec b/dlls/shell32/shell32.spec
index f219c8f..e6858c8 100644
--- a/dlls/shell32/shell32.spec
+++ b/dlls/shell32/shell32.spec
@@ -324,7 +324,7 @@
 @ stub RealShellExecuteExA
 @ stub RealShellExecuteExW
 @ stub RealShellExecuteW
-@ stub RegenerateUserEnvironment
+@ stdcall RegenerateUserEnvironment(ptr long)
 @ stdcall SetCurrentProcessExplicitAppUserModelID(wstr)
 @ stdcall SHAddToRecentDocs (long ptr)
 @ stdcall SHAppBarMessage(long ptr)
diff --git a/dlls/shell32/shlexec.c b/dlls/shell32/shlexec.c
index a6bc5c8..05b79e3 100644
--- a/dlls/shell32/shlexec.c
+++ b/dlls/shell32/shlexec.c
@@ -2097,3 +2097,12 @@ void WINAPI OpenAs_RunDLLW(HWND hwnd, HINSTANCE hinst, LPCWSTR cmdline, int cmds
 {
     FIXME("%p, %p, %s, %d\n", hwnd, hinst, debugstr_w(cmdline), cmdshow);
 }
+
+/*************************************************************************
+ * RegenerateUserEnvironment          [SHELL32.@]
+ */
+BOOL WINAPI RegenerateUserEnvironment(WCHAR *wunknown, BOOL bunknown)
+{
+    FIXME("stub: %p, %d\n", wunknown, bunknown);
+    return FALSE;
+}


More information about the wine-patches mailing list