LWSTDAPI StrRetToBSTR( STRRET *pstr, PCUITEMID_CHILD pidl, BSTR *pbstr );
A pointer to a STRRET structure. When the function returns, this pointer is longer valid.
A pointer to an ITEMIDLIST that uniquely identifies a file object or subfolder relative to the parent folder. This value can be NULL.
A pointer to a variable of type BSTR that receives the converted string.
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
If the uType member of the STRRET structure pointed to by pstr is set to STRRET_WSTR, the pOleStr member of that structure is freed on return.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|
|DLL||Shlwapi.dll (version 5.5 or later)|