mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:58:20 +00:00
shlwapi: Forward SHUnicodeToUnicode() to shcore.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
929058a2ef
commit
f7c33804e3
|
@ -343,7 +343,7 @@
|
|||
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)
|
||||
346 stdcall -ordinal SHUnicodeToUnicode(wstr ptr long)
|
||||
346 stdcall -ordinal SHUnicodeToUnicode(wstr ptr long) shcore.SHUnicodeToUnicode
|
||||
347 stdcall -noname RegDeleteValueWrapW(long wstr) advapi32.RegDeleteValueW
|
||||
348 stub -noname SHGetFileDescriptionW
|
||||
349 stub -noname SHGetFileDescriptionA
|
||||
|
|
|
@ -2773,21 +2773,6 @@ DWORD WINAPI SHAnsiToAnsi(LPCSTR lpszSrc, LPSTR lpszDst, int iLen)
|
|||
return lpszRet - lpszDst + 1;
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
* @ [SHLWAPI.346]
|
||||
*
|
||||
* Unicode version of SSHAnsiToAnsi.
|
||||
*/
|
||||
DWORD WINAPI SHUnicodeToUnicode(LPCWSTR lpszSrc, LPWSTR lpszDst, int iLen)
|
||||
{
|
||||
LPWSTR lpszRet;
|
||||
|
||||
TRACE("(%s,%p,0x%08x)\n", debugstr_w(lpszSrc), lpszDst, iLen);
|
||||
|
||||
lpszRet = StrCpyNXW(lpszDst, lpszSrc, iLen);
|
||||
return lpszRet - lpszDst + 1;
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
* @ [SHLWAPI.364]
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue