becd0d1b1dd4fc0e1a84ecf089643cbe5d840fa1
[reactos.git] / reactos / subsys / system / reactos / reactos.c
1 /*
2 * ReactOS applications
3 * Copyright (C) 2004 ReactOS Team
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19 /* $Id$
20 *
21 * COPYRIGHT: See COPYING in the top level directory
22 * PROJECT: ReactOS GUI first stage setup application
23 * FILE: subsys/system/reactos/reactos.c
24 * PROGRAMMERS: Eric Kohl
25 */
26
27 #include <windows.h>
28 #include <tchar.h>
29
30 #include "resource.h"
31
32
33 /* GLOBALS ******************************************************************/
34
35 TCHAR szCaption[256];
36 TCHAR szText[256];
37
38 HINSTANCE hInstance;
39
40
41 /* FUNCTIONS ****************************************************************/
42
43 int WINAPI
44 WinMain(HINSTANCE hInst,
45 HINSTANCE hPrevInstance,
46 LPSTR lpszCmdLine,
47 int nCmdShow)
48 {
49 hInstance = hInst;
50
51 if (!LoadString(hInstance,
52 IDS_CAPTION,
53 szCaption,
54 256))
55 return 0;
56
57 if (!LoadString(hInstance,
58 IDS_TEXT,
59 szText,
60 256))
61 return 0;
62
63 MessageBox(NULL,
64 szText,
65 szCaption,
66 MB_OK | MB_ICONINFORMATION);
67
68 return 0;
69 }
70
71 /* EOF */