- Auto expand the list of available tests

- Add the selected test to the main combo
- Tag the dll path to each combo item
- Run the test when the 'run' button is hit. 
We can now run all Wine tests from the GUI, but we get no feedback yet.

svn path=/trunk/; revision=34043
This commit is contained in:
Ged Murphy 2008-06-21 19:19:22 +00:00
parent 3ee18cdb67
commit 3c16ea89b9
4 changed files with 210 additions and 27 deletions

View file

@ -274,8 +274,38 @@ AnsiToUnicode(LPCSTR lpSrcStr,
*lpDstStr = (LPWSTR)HeapAlloc(GetProcessHeap(), 0, length * sizeof(WCHAR));
if (*lpDstStr)
{
ret = MultiByteToWideChar(CP_ACP, 0, lpSrcStr, -1, *lpDstStr, length);
ret = MultiByteToWideChar(CP_ACP,
0,
lpSrcStr,
-1,
*lpDstStr,
length);
}
return ret;
}
}
DWORD
UnicodeToAnsi(LPCWSTR lpSrcStr,
LPSTR *lpDstStr)
{
INT length;
INT ret = 0;
length = wcslen(lpSrcStr) + 1;
*lpDstStr = (LPWSTR)HeapAlloc(GetProcessHeap(), 0, length);
if (*lpDstStr)
{
ret = WideCharToMultiByte(CP_ACP,
0,
lpSrcStr,
-1,
*lpDstStr,
length,
NULL,
NULL);
}
return ret;
}