StrRetToBufA.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "shlwapi.h".

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

Debug channel "shell".