mirror of
https://github.com/reactos/reactos.git
synced 2024-08-26 13:18:51 +00:00
![Ged Murphy](/assets/img/avatar_default.png)
- 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
56 lines
1.1 KiB
C
56 lines
1.1 KiB
C
#ifndef __WINETESTGUI_PRECOMP_H
|
|
#define __WINETESTGUI_PRECOMP_H
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <windows.h>
|
|
#include <commctrl.h>
|
|
#include "resource.h"
|
|
|
|
extern HINSTANCE hInstance;
|
|
|
|
#define MAX_RUN_CMD 256
|
|
|
|
typedef struct _TEST_ITEM
|
|
{
|
|
WCHAR szSelectedDll[MAX_PATH];
|
|
WCHAR szRunString[MAX_RUN_CMD];
|
|
|
|
} TEST_ITEM, *PTEST_ITEM;
|
|
|
|
typedef struct _MAIN_WND_INFO
|
|
{
|
|
HWND hMainWnd;
|
|
HWND hBrowseDlg;
|
|
HWND hBrowseTV;
|
|
HWND hStatus;
|
|
int nCmdShow;
|
|
|
|
HICON hSmIcon;
|
|
HICON hBgIcon;
|
|
|
|
LPWSTR lpDllList;
|
|
INT numDlls;
|
|
|
|
TEST_ITEM SelectedTest;
|
|
|
|
} MAIN_WND_INFO, *PMAIN_WND_INFO;
|
|
|
|
/* dll exports */
|
|
wchar_t *GetTestName();
|
|
int GetModulesInTest(char **modules);
|
|
int RunTest(const char *lpTest);
|
|
|
|
|
|
/* browsewnd.c */
|
|
BOOL CALLBACK BrowseDlgProc(HWND hDlg, UINT Message, WPARAM wParam, LPARAM lParam);
|
|
|
|
/* misc.c */
|
|
HIMAGELIST InitImageList(UINT StartResource, UINT EndResource, UINT Width, UINT Height);
|
|
VOID DisplayMessage(LPWSTR lpMsg);
|
|
VOID DisplayError(INT err);
|
|
DWORD AnsiToUnicode(LPCSTR lpSrcStr, LPWSTR *lpDstStr);
|
|
DWORD UnicodeToAnsi(LPCWSTR lpSrcStr, LPSTR *lpDstStr);
|
|
|
|
#endif /* __WINETESTGUI_PRECOMP_H */
|