ReactOS  0.4.15-dev-499-g1f31905
precomp.h
Go to the documentation of this file.
1 #ifndef __WINETESTGUI_PRECOMP_H
2 #define __WINETESTGUI_PRECOMP_H
3 
4 #include <stdio.h>
5 #include <stdlib.h>
6 #include <windows.h>
7 #include <commctrl.h>
8 #include "resource.h"
9 
10 extern HINSTANCE hInstance;
11 
12 #define MAX_NAME 32
13 #define MAX_RUN_CMD 256
14 
15 typedef struct _TEST_ITEM
16 {
19 
21 
22 typedef struct _MAIN_WND_INFO
23 {
24  HWND hMainWnd;
27  HWND hStatus;
32  int nCmdShow;
33 
36 
39 
41 
44 
46 
47 /* dll exports */
48 wchar_t *GetTestName();
49 int GetModulesInTest(char **modules);
50 int RunTest(const char *lpTest);
51 
52 
53 /* mainwnd.c */
55 
56 /* browsewnd.c */
58 
59 /* optionswnd.c */
61 
62 /* misc.c */
63 HIMAGELIST InitImageList(UINT StartResource, UINT EndResource, UINT Width, UINT Height);
66 DWORD AnsiToUnicode(LPCSTR lpSrcStr, LPWSTR *lpDstStr);
67 DWORD UnicodeToAnsi(LPCWSTR lpSrcStr, LPSTR *lpDstStr);
68 
69 #endif /* __WINETESTGUI_PRECOMP_H */
HINSTANCE hInstance
Definition: charmap.c:20
HANDLE hStdOutRd
Definition: precomp.h:29
static HICON
Definition: imagelist.c:84
WCHAR szName[MAX_NAME]
Definition: precomp.h:17
HICON hSmIcon
Definition: precomp.h:34
struct _TEST_ITEM TEST_ITEM
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
int GetModulesInTest(char **modules)
HICON hBgIcon
Definition: precomp.h:35
BOOL bRunOnStart
Definition: precomp.h:42
#define CALLBACK
Definition: compat.h:27
wchar_t * GetTestName()
struct _TEST_ITEM * PTEST_ITEM
UINT_PTR WPARAM
Definition: windef.h:207
char * LPSTR
Definition: xmlstorage.h:182
BOOL CALLBACK BrowseDlgProc(HWND hDlg, UINT Message, WPARAM wParam, LPARAM lParam)
Definition: browsewnd.c:332
int32_t INT
Definition: typedefs.h:57
HWND hStatus
Definition: precomp.h:52
WPARAM wParam
Definition: combotst.c:138
DWORD AnsiToUnicode(LPCSTR lpSrcStr, LPWSTR *lpDstStr)
Definition: misc.c:266
#define MAX_RUN_CMD
Definition: precomp.h:13
unsigned int BOOL
Definition: ntddk_ex.h:94
WCHAR szRunCmd[MAX_RUN_CMD]
Definition: precomp.h:18
LONG_PTR LPARAM
Definition: windef.h:208
const char * LPCSTR
Definition: xmlstorage.h:183
HWND hBrowseTV
Definition: precomp.h:26
VOID DisplayError(DWORD dwError)
Definition: logoff.c:33
int nCmdShow
Definition: precomp.h:56
LPWSTR lpCmdLine
Definition: precomp.h:31
HANDLE hPipeThread
Definition: precomp.h:28
VOID DisplayMessage(LPWSTR lpMsg)
Definition: misc.c:211
__wchar_t WCHAR
Definition: xmlstorage.h:180
LPWSTR lpExeList
Definition: precomp.h:37
struct _MAIN_WND_INFO * PMAIN_WND_INFO
unsigned long DWORD
Definition: ntddk_ex.h:95
TEST_ITEM SelectedTest
Definition: precomp.h:40
CHAR Message[80]
Definition: alive.c:5
HWND hBrowseDlg
Definition: precomp.h:25
#define err(...)
BOOL bHideConsole
Definition: precomp.h:43
HANDLE hStdOutWr
Definition: precomp.h:30
DWORD UnicodeToAnsi(LPCWSTR lpSrcStr, LPSTR *lpDstStr)
Definition: misc.c:289
BOOL SendCommandToClient(PMAIN_WND_INFO pInfo, LPWSTR lpCommand)
HWND hMainWnd
Definition: precomp.h:50
unsigned int UINT
Definition: ndis.h:50
#define MAX_NAME
Definition: precomp.h:12
struct _MAIN_WND_INFO MAIN_WND_INFO
BOOL CALLBACK OptionsDlgProc(HWND hDlg, UINT Message, WPARAM wParam, LPARAM lParam)
Definition: solitaire.cpp:273
WCHAR * LPWSTR
Definition: xmlstorage.h:184
int RunTest(const char *lpTest)
LPARAM lParam
Definition: combotst.c:139
HIMAGELIST InitImageList(UINT StartResource, UINT EndResource, UINT Width, UINT Height, ULONG type)
Definition: misc.c:219