mirror of
https://github.com/reactos/reactos.git
synced 2025-08-01 23:42:56 +00:00
- 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:
parent
3ee18cdb67
commit
3c16ea89b9
4 changed files with 210 additions and 27 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue