reactos/rostests/winetests/GUI/precomp.h
Ged Murphy 671448e212 Add all modules within a test to the treeview
svn path=/trunk/; revision=34024
2008-06-19 11:57:14 +00:00

48 lines
1,014 B
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;
typedef struct _MAIN_WND_INFO
{
HWND hMainWnd;
HWND hBrowseDlg;
HWND hBrowseTV;
HWND hStatus;
int nCmdShow;
HICON hSmIcon;
HICON hBgIcon;
INT SelectedItem;/* selection number in the list view */
BOOL bDlgOpen;
BOOL bInMenuLoop;
BOOL bIsUserAnAdmin;
LPWSTR lpDllList;
INT numDlls;
} MAIN_WND_INFO, *PMAIN_WND_INFO;
/* dll exports */
wchar_t *GetTestName();
int GetModulesInTest(char **modules);
/* 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 DisplayString(LPWSTR lpMsg);
VOID DisplayError(INT err);
DWORD AnsiToUnicode(LPCSTR lpSrcStr, LPWSTR *lpDstStr);
#endif /* __WINETESTGUI_PRECOMP_H */