SHStrDupA(3w)

SHStrDupA3w

Usage

HRESULT SHStrDupA
(
LPCSTR lpszStr,
LPWSTR* lppszDest
)

Overview

Return a Unicode copy of a string, in memory allocated by CoTaskMemAlloc(3w).

Params

lpszStr [In] String to copy.

lppszDest [Out] Destination for the new string copy.

Returns

Success: S_OK. lppszDest contains the new string in Unicode format.

Failure: E_OUTOFMEMORY, If any arguments are invalid or memory allocation fails.

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.