StrRetToBufA (SHLWAPI.@)
HRESULT StrRetToBufA ( LPSTRRET src, const ITEMIDLIST* pidl, LPSTR dest, UINT len )
Convert a STRRET to a normal string.
lpStrRet | [Out] | STRRET to convert. |
pIdl | [In] | ITEMIDLIST for lpStrRet->uType == STRRET_OFFSET. |
lpszDest | [Out] | Destination for normal string. |
dwLen | [In] | Length of lpszDest. |
Success: S_OK. lpszDest contains up to dwLen characters of the string. If lpStrRet is of type STRRET_WSTR, its memory is freed with CoTaskMemFree and its type set to STRRET_CSTRA.
Failure: E_FAIL, if any parameters are invalid.
Declared in "include/shlwapi.h". gitlab.winehq.org/wine/wine/blob/master/include/shlwapi.h
Implemented in "dlls/shlwapi/string.c". gitlab.winehq.org/wine/wine/blob/master/dlls/shlwapi/string.c
Debug channel "shell".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.