Rough code to start Winetests processes from the GUI, but with the console's stdout redirected to a pipe controlled by the GUI.

We can now read the console text from the winetest processes in the GUI (although it's just usage info at the moment)

svn path=/trunk/; revision=37447
This commit is contained in:
Ged Murphy 2008-11-18 18:57:27 +00:00
parent 29ddbaa8c9
commit 29474c309b
3 changed files with 155 additions and 27 deletions

View file

@ -9,12 +9,13 @@
extern HINSTANCE hInstance;
#define MAX_NAME 32
#define MAX_RUN_CMD 256
typedef struct _TEST_ITEM
{
WCHAR szSelectedExe[MAX_PATH];
WCHAR szRunString[MAX_RUN_CMD];
WCHAR szName[MAX_NAME];
WCHAR szRunCmd[MAX_RUN_CMD];
} TEST_ITEM, *PTEST_ITEM;
@ -24,7 +25,10 @@ typedef struct _MAIN_WND_INFO
HWND hBrowseDlg;
HWND hBrowseTV;
HWND hStatus;
HANDLE hPipe;
HANDLE hPipeThread;
HANDLE hStdOutRd;
HANDLE hStdOutWr;
LPWSTR lpCmdLine;
int nCmdShow;
HICON hSmIcon;