mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:13:00 +00:00
sync shell32_winetest with wine 1.1.20
svn path=/trunk/; revision=40733
This commit is contained in:
parent
835f656bfa
commit
f51cc69532
14 changed files with 3632 additions and 1190 deletions
|
@ -37,7 +37,7 @@ static HRESULT (WINAPI *pStrRetToStrNAW)(LPVOID,DWORD,LPSTRRET,const ITEMIDLIST
|
|||
static WCHAR *CoDupStrW(const char* src)
|
||||
{
|
||||
INT len = MultiByteToWideChar(CP_ACP, 0, src, -1, NULL, 0);
|
||||
WCHAR* szTemp = (WCHAR*)CoTaskMemAlloc(len * sizeof(WCHAR));
|
||||
WCHAR* szTemp = CoTaskMemAlloc(len * sizeof(WCHAR));
|
||||
MultiByteToWideChar(CP_ACP, 0, src, -1, szTemp, len);
|
||||
return szTemp;
|
||||
}
|
||||
|
@ -110,4 +110,6 @@ START_TEST(string)
|
|||
else
|
||||
test_StrRetToStringNA();
|
||||
}
|
||||
|
||||
CoUninitialize();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue