NAME

StrRetToBufA  (SHLWAPI.@)

SYNOPSIS

 HRESULT StrRetToBufA
 (
  LPSTRRET          src,
  const ITEMIDLIST* pidl,
  LPSTR             dest,
  UINT              len
 )

DESCRIPTION

Convert a STRRET to a normal string.

PARAMS

lpStrRet [Out] STRRET to convert.
pIdl [In] ITEMIDLIST for lpStrRet->uType == STRRET_OFFSET.
lpszDest [Out] Destination for normal string.
dwLen [In] Length of lpszDest.

RETURNS

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.

IMPLEMENTATION

Declared in "shlwapi.h". https://source.winehq.org/source/include/shlwapi.h

Implemented in "dlls/shlwapi/string.c". https://source.winehq.org/source/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 Mar 2024.