- build up test data for each node in the treeview and tag it

- traverse the tree recursively and free all data on close

svn path=/trunk/; revision=34033
This commit is contained in:
Ged Murphy 2008-06-20 08:21:49 +00:00
parent 25f5cca19d
commit 938f407a80
2 changed files with 141 additions and 18 deletions

View file

@ -9,6 +9,15 @@
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;
@ -20,14 +29,11 @@ typedef struct _MAIN_WND_INFO
HICON hSmIcon;
HICON hBgIcon;
INT SelectedItem;/* selection number in the list view */
BOOL bDlgOpen;
BOOL bInMenuLoop;
BOOL bIsUserAnAdmin;
LPWSTR lpDllList;
INT numDlls;
PTEST_ITEM SelectedTest;
} MAIN_WND_INFO, *PMAIN_WND_INFO;
/* dll exports */