[SHELL32] Implement IShellFolder2::GetDetailsEx (#7880)

This commit is contained in:
Whindmar Saksit
2025-04-21 23:21:44 +02:00
committed by GitHub
parent 4cbd5d1b44
commit d3456f5060
10 changed files with 395 additions and 44 deletions

View File

@@ -474,6 +474,13 @@ template<class B, class R> static HRESULT SHILCombine(B base, PCUIDLIST_RELATIVE
static inline bool StrIsNullOrEmpty(LPCSTR str) { return !str || !*str; }
static inline bool StrIsNullOrEmpty(LPCWSTR str) { return !str || !*str; }
HRESULT inline SHSetStrRetEmpty(LPSTRRET pStrRet)
{
pStrRet->uType = STRRET_CSTR;
pStrRet->cStr[0] = '\0';
return S_OK;
}
HRESULT inline SHSetStrRet(LPSTRRET pStrRet, LPCSTR pstrValue)
{
pStrRet->uType = STRRET_CSTR;