shlwapi: Tweak the wording of the _SHStrDupAToBSTR() documentation.

This also fixes an ASCII / ANSI mixup.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2021-08-30 17:17:35 +02:00 committed by Alexandre Julliard
parent 25978317ce
commit ab8b99daf4
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ HRESULT WINAPI StrRetToStrW(LPSTRRET lpStrRet, const ITEMIDLIST *pidl, LPWSTR *p
return hRet;
}
/* Create an ASCII string copy using SysAllocString() */
/* Makes a Unicode copy of an ANSI string using SysAllocString() */
static HRESULT _SHStrDupAToBSTR(LPCSTR src, BSTR *pBstrOut)
{
*pBstrOut = NULL;