mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 18:12:58 +00:00
Prepare for a change of architecture.
Instead of building all Wine tests as dlls, we'll revert back to separate processes, but redirect the client processes stdin, stdout and stderr to named pipes set by the parent. svn path=/trunk/; revision=36844
This commit is contained in:
parent
f3d835f4a1
commit
b686c53533
7 changed files with 244 additions and 164 deletions
|
@ -238,12 +238,12 @@ InitImageList(UINT StartResource,
|
|||
/* Add all icons to the image list */
|
||||
for (i = StartResource; i <= EndResource; i++)
|
||||
{
|
||||
hIcon = (HBITMAP)LoadImageW(hInstance,
|
||||
MAKEINTRESOURCEW(i),
|
||||
IMAGE_ICON,
|
||||
Width,
|
||||
Height,
|
||||
LR_DEFAULTCOLOR);
|
||||
hIcon = (HICON)LoadImageW(hInstance,
|
||||
MAKEINTRESOURCEW(i),
|
||||
IMAGE_ICON,
|
||||
Width,
|
||||
Height,
|
||||
LR_DEFAULTCOLOR);
|
||||
if (hIcon == NULL)
|
||||
goto fail;
|
||||
|
||||
|
@ -294,7 +294,7 @@ UnicodeToAnsi(LPCWSTR lpSrcStr,
|
|||
|
||||
length = wcslen(lpSrcStr) + 1;
|
||||
|
||||
*lpDstStr = (LPWSTR)HeapAlloc(GetProcessHeap(), 0, length);
|
||||
*lpDstStr = (LPSTR)HeapAlloc(GetProcessHeap(), 0, length);
|
||||
if (*lpDstStr)
|
||||
{
|
||||
ret = WideCharToMultiByte(CP_ACP,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue