mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:23:07 +00:00
[SHELL32] Forward CDefaultContextMenu::InvokeCommand parameters to ShellExecute (#7172)
This commit is contained in:
parent
876d1c2dc8
commit
d5aca44042
4 changed files with 17 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue