From: Stephan Seitz <stephan.seitz@fau.de> --- dlls/shell32/shell32.spec | 1 + dlls/shell32/shell32_main.c | 13 +++++++++++++ include/shellapi.h | 1 + 3 files changed, 15 insertions(+) diff --git a/dlls/shell32/shell32.spec b/dlls/shell32/shell32.spec index 70eb2422f39..c1abfc3c9a1 100644 --- a/dlls/shell32/shell32.spec +++ b/dlls/shell32/shell32.spec @@ -362,6 +362,7 @@ @ stdcall SHEmptyRecycleBinA(long str long) @ stdcall SHEmptyRecycleBinW(long wstr long) @ stdcall SHEnumerateUnreadMailAccountsW(ptr long ptr long) +@ stdcall SHEvaluateSystemCommandTemplate(wstr ptr ptr ptr) @ stdcall SHExtractIconsW(wstr long long long ptr ptr long long) user32.PrivateExtractIconsW @ stdcall SHFileOperation(ptr) SHFileOperationA @ stdcall SHFileOperationA(ptr) diff --git a/dlls/shell32/shell32_main.c b/dlls/shell32/shell32_main.c index 6bd46eb4f80..4bae3ab9f1f 100644 --- a/dlls/shell32/shell32_main.c +++ b/dlls/shell32/shell32_main.c @@ -1188,6 +1188,19 @@ HRESULT WINAPI SHEnumerateUnreadMailAccountsW(HKEY user, DWORD idx, LPWSTR maila return E_NOTIMPL; } +/*********************************************************************** + * SHEvaluateSystemCommandTemplate (SHELL32.@) + */ +HRESULT WINAPI SHEvaluateSystemCommandTemplate(PCWSTR cmdtemplate, + PWSTR *application, + PWSTR *commandline, + PWSTR *parameters) { + FIXME("(%s %p %p %p) stub!\n", debugstr_w(cmdtemplate), application, + commandline, parameters); + + return E_NOTIMPL; +} + /*********************************************************************** * SHQueryUserNotificationState (SHELL32.@) */ diff --git a/include/shellapi.h b/include/shellapi.h index fc646820eba..1516e7a7ac5 100644 --- a/include/shellapi.h +++ b/include/shellapi.h @@ -711,6 +711,7 @@ WINSHELLAPI DWORD WINAPI DoEnvironmentSubstW(LPWSTR, UINT); WINSHELLAPI HRESULT WINAPI SHEnumerateUnreadMailAccountsA(HKEY,DWORD,LPSTR,INT); WINSHELLAPI HRESULT WINAPI SHEnumerateUnreadMailAccountsW(HKEY,DWORD,LPWSTR,INT); #define SHEnumerateUnreadMailAccounts WINELIB_NAME_AW(SHEnumerateUnreadMailAccounts) +WINSHELLAPI HRESULT WINAPI SHEvaluateSystemCommandTemplate(PCWSTR, PWSTR*, PWSTR*, PWSTR*); WINSHELLAPI HRESULT WINAPI SHGetPropertyStoreForWindow(HWND,REFIID,void **); #ifdef __cplusplus -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10578