NAME

SHStrDupA  (SHLWAPI.@)

SYNOPSIS

 HRESULT SHStrDupA
 (
  LPCSTR  lpszStr,
  LPWSTR* lppszDest
 )

DESCRIPTION

Return a Unicode copy of a string, in memory allocated by CoTaskMemAlloc.

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