From: Austin English Subject: shell32: add SHCreateSessionKey stub Message-Id: Date: Sun, 27 Dec 2015 23:15:11 -0600 For https://bugs.winehq.org/show_bug.cgi?id=35630 Dmitry sent a patch, https://source.winehq.org/patches/data/102530, but it was dropped without comment. He has no plans to resend, https://bugs.winehq.org/show_bug.cgi?id=35630#c5, so sending a stub to at least prevent a crash. -- -Austin From 95d2248214e7373b53ba7e2298658fceb4e7c844 Mon Sep 17 00:00:00 2001 From: Austin English Date: Sun, 27 Dec 2015 23:11:13 -0600 Subject: [PATCH] shell32: add SHCreateSessionKey stub Signed-off-by: Austin English --- dlls/shell32/shell32.spec | 1 + dlls/shell32/shellreg.c | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/dlls/shell32/shell32.spec b/dlls/shell32/shell32.spec index 93fd449..abbe6d2 100644 --- a/dlls/shell32/shell32.spec +++ b/dlls/shell32/shell32.spec @@ -261,6 +261,7 @@ 704 stdcall -noname GUIDFromStringW(wstr ptr) 709 stdcall SHGetSetFolderCustomSettings(ptr str long) 714 stdcall @(ptr) SHELL32_714 # PathIsTemporaryW + 723 stdcall SHCreateSessionKey(long ptr) 727 stdcall SHGetImageList(long ptr ptr) 730 stdcall -noname RestartDialogEx(long wstr long long) 743 stdcall SHCreateFileExtractIconW(wstr long ptr ptr) diff --git a/dlls/shell32/shellreg.c b/dlls/shell32/shellreg.c index 37f3d9e..b5a6f5c 100644 --- a/dlls/shell32/shellreg.c +++ b/dlls/shell32/shellreg.c @@ -147,3 +147,13 @@ HRESULT WINAPI SHRegCloseKey (HKEY hkey) TRACE("%p\n",hkey); return RegCloseKey( hkey ); } + +/************************************************************************* + * SHCreateSessionKey [SHELL32.723] NT 4.0 + * + */ +HRESULT WINAPI SHCreateSessionKey(REGSAM access, HKEY *hkey) +{ + FIXME("stub: %d %p\n", access, hkey); + return ERROR_SUCCESS; +} -- 2.6.4