StrRetToBufA(3w)

StrRetToBufA3w

Usage

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

Overview

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".

Implemented in "dlls/shlwapi/string.c".

Debug channel "shell".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.