ReactOS 0.4.16-dev-257-g6aa11ac
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
10extern HINSTANCE hInstance;
11
12#define MAX_NAME 32
13#define MAX_RUN_CMD 256
14
15typedef struct _TEST_ITEM
16{
19
21
22typedef struct _MAIN_WND_INFO
23{
32 int nCmdShow;
33
36
39
41
44
46
47/* dll exports */
48wchar_t *GetTestName();
49int GetModulesInTest(char **modules);
50int RunTest(const char *lpTest);
51
52
53/* mainwnd.c */
55
56/* browsewnd.c */
58
59/* optionswnd.c */
61
62/* misc.c */
63HIMAGELIST InitImageList(UINT StartResource, UINT EndResource, UINT Width, UINT Height);
66DWORD AnsiToUnicode(LPCSTR lpSrcStr, LPWSTR *lpDstStr);
67DWORD UnicodeToAnsi(LPCWSTR lpSrcStr, LPSTR *lpDstStr);
68
69#endif /* __WINETESTGUI_PRECOMP_H */
static KSTART_ROUTINE RunTest
Definition: NpfsConnect.c:238
HINSTANCE hInstance
Definition: charmap.c:19
struct _MAIN_WND_INFO MAIN_WND_INFO
HIMAGELIST InitImageList(UINT StartResource, UINT EndResource, UINT Width, UINT Height, ULONG type)
Definition: misc.c:219
struct _MAIN_WND_INFO * PMAIN_WND_INFO
VOID DisplayError(DWORD dwError)
Definition: logoff.c:33
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
#define CALLBACK
Definition: compat.h:35
static const WCHAR Message[]
Definition: register.c:74
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
wchar_t * GetTestName()
int GetModulesInTest(char **modules)
DWORD AnsiToUnicode(LPCSTR lpSrcStr, LPWSTR *lpDstStr)
Definition: misc.c:267
#define MAX_RUN_CMD
Definition: precomp.h:13
DWORD UnicodeToAnsi(LPCWSTR lpSrcStr, LPSTR *lpDstStr)
Definition: misc.c:290
VOID DisplayMessage(LPWSTR lpMsg)
Definition: misc.c:211
BOOL CALLBACK OptionsDlgProc(HWND hDlg, UINT Message, WPARAM wParam, LPARAM lParam)
Definition: solitaire.cpp:289
#define MAX_NAME
Definition: precomp.h:12
BOOL SendCommandToClient(PMAIN_WND_INFO pInfo, LPWSTR lpCommand)
struct _TEST_ITEM * PTEST_ITEM
struct _TEST_ITEM TEST_ITEM
BOOL CALLBACK BrowseDlgProc(HWND hDlg, UINT Message, WPARAM wParam, LPARAM lParam)
Definition: browsewnd.c:332
static HICON
Definition: imagelist.c:80
unsigned int UINT
Definition: ndis.h:50
#define err(...)
HANDLE hStdOutRd
Definition: precomp.h:29
HICON hBgIcon
Definition: precomp.h:35
HWND hStatus
Definition: precomp.h:53
HWND hMainWnd
Definition: precomp.h:51
HICON hSmIcon
Definition: precomp.h:34
BOOL bHideConsole
Definition: precomp.h:43
BOOL bRunOnStart
Definition: precomp.h:42
HANDLE hStdOutWr
Definition: precomp.h:30
HWND hBrowseTV
Definition: precomp.h:26
LPWSTR lpExeList
Definition: precomp.h:37
HWND hBrowseDlg
Definition: precomp.h:25
TEST_ITEM SelectedTest
Definition: precomp.h:40
HANDLE hPipeThread
Definition: precomp.h:28
LPWSTR lpCmdLine
Definition: precomp.h:31
int nCmdShow
Definition: precomp.h:57
WCHAR szRunCmd[MAX_RUN_CMD]
Definition: precomp.h:18
WCHAR szName[MAX_NAME]
Definition: precomp.h:17
int32_t INT
Definition: typedefs.h:58
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
Definition: font.h:89
_In_ HFONT _Out_ PUINT Height
Definition: font.h:88
LONG_PTR LPARAM
Definition: windef.h:208
UINT_PTR WPARAM
Definition: windef.h:207
const char * LPCSTR
Definition: xmlstorage.h:183
char * LPSTR
Definition: xmlstorage.h:182
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185