shlwapi: Forward SHAnsiToAnsi() to shcore.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f7c33804e3
commit
454264f0bf
|
@ -342,7 +342,7 @@
|
|||
342 stdcall -noname SHInterlockedCompareExchange(ptr ptr ptr)
|
||||
343 stdcall -noname SHRegGetCLSIDKeyA(ptr str long long ptr)
|
||||
344 stdcall -noname SHRegGetCLSIDKeyW(ptr wstr long long ptr)
|
||||
345 stdcall -ordinal SHAnsiToAnsi(str ptr long)
|
||||
345 stdcall -ordinal SHAnsiToAnsi(str ptr long) shcore.SHAnsiToAnsi
|
||||
346 stdcall -ordinal SHUnicodeToUnicode(wstr ptr long) shcore.SHUnicodeToUnicode
|
||||
347 stdcall -noname RegDeleteValueWrapW(long wstr) advapi32.RegDeleteValueW
|
||||
348 stub -noname SHGetFileDescriptionW
|
||||
|
|
|
@ -2749,30 +2749,6 @@ INT WINAPI SHUnicodeToAnsi(LPCWSTR lpSrcStr, LPSTR lpDstStr, INT iLen)
|
|||
return SHUnicodeToAnsiCP(CP_ACP, lpSrcStr, lpDstStr, iLen);
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
* @ [SHLWAPI.345]
|
||||
*
|
||||
* Copy one string to another.
|
||||
*
|
||||
* PARAMS
|
||||
* lpszSrc [I] Source string to copy
|
||||
* lpszDst [O] Destination for copy
|
||||
* iLen [I] Length of lpszDst in characters
|
||||
*
|
||||
* RETURNS
|
||||
* The length of the copied string, including the terminating NUL. lpszDst
|
||||
* contains iLen characters of lpszSrc.
|
||||
*/
|
||||
DWORD WINAPI SHAnsiToAnsi(LPCSTR lpszSrc, LPSTR lpszDst, int iLen)
|
||||
{
|
||||
LPSTR lpszRet;
|
||||
|
||||
TRACE("(%s,%p,0x%08x)\n", debugstr_a(lpszSrc), lpszDst, iLen);
|
||||
|
||||
lpszRet = StrCpyNXA(lpszDst, lpszSrc, iLen);
|
||||
return lpszRet - lpszDst + 1;
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
* @ [SHLWAPI.364]
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue