[SHELL32] Forward CDefaultContextMenu::InvokeCommand parameters to ShellExecute (#7172)

This commit is contained in:
Whindmar Saksit 2024-07-23 18:58:02 +02:00 committed by GitHub
parent 876d1c2dc8
commit d5aca44042
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 17 additions and 9 deletions

View file

@ -456,6 +456,9 @@ template<class B, class R> static HRESULT SHILCombine(B base, PCUIDLIST_RELATIVE
return r ? S_OK : E_OUTOFMEMORY;
}
static inline bool StrIsNullOrEmpty(LPCSTR str) { return !str || !*str; }
static inline bool StrIsNullOrEmpty(LPCWSTR str) { return !str || !*str; }
HRESULT inline SHSetStrRet(LPSTRRET pStrRet, LPCSTR pstrValue)
{
pStrRet->uType = STRRET_CSTR;