Austin English : shell32: Add a stub for RegenerateUserEnvironment.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Nov 12 09:33:53 CST 2014


Module: wine
Branch: master
Commit: 66662a87c0deb4aaa605d6a6486b439072f5055f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=66662a87c0deb4aaa605d6a6486b439072f5055f

Author: Austin English <austinenglish at gmail.com>
Date:   Tue Nov 11 19:41:03 2014 -0600

shell32: Add a stub for RegenerateUserEnvironment.

---

 dlls/shell32/shell32.spec | 2 +-
 dlls/shell32/shlexec.c    | 9 +++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

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..2d9690a 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-cvs mailing list