sync shell32_winetest with wine 1.1.20

svn path=/trunk/; revision=40733
This commit is contained in:
Christoph von Wittich 2009-04-29 15:11:22 +00:00
parent 835f656bfa
commit f51cc69532
14 changed files with 3632 additions and 1190 deletions

View file

@ -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();
}