1 /*
2 * CUnit - A Unit testing framework library for C.
3 * Copyright (C) 2001 Anil Kumar
4 * Copyright (C) 2004,2005,2006 Anil Kumar, Jerry St.Clair
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21 /*
22 * >>> UNDER CONSTRUCTION <<<
23 *
24 * Contains implementation of windows interface.
25 *
26 * 2001 Initial implementation. (AK)
27 *
28 * 18-Jul-2004 New interface. (JDS)
29 */
30
31 #include <windows.h>
32
33 #include "Win.h"
34 #include "resource.h"
35
36 #include "CUnit.h"
37
DialogMessageHandler(HWND hDlg,UINT message,WPARAM wParam,LPARAM lParam)38 static LRESULT CALLBACK DialogMessageHandler(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
39 {
40 CU_UNREFERENCED_PARAMETER(hDlg); /* not used at this point */
41 CU_UNREFERENCED_PARAMETER(message);
42 CU_UNREFERENCED_PARAMETER(lParam);
43
44 switch((int)wParam) {
45 default: break;
46 }
47 return 0;
48 }
49
CU_win_run_tests(void)50 void CU_win_run_tests(void)
51 {
52 HWND hWndDlg = CreateDialog(NULL, (LPCTSTR)IDD_MAIN, NULL, (DLGPROC)DialogMessageHandler);
53 (void) hWndDlg;
54 }
55
56