Partial merge of the condrv_restructure branch, including:
[reactos.git] / reactos / base / applications / rapps / aboutdlg.c
1 /*
2 * PROJECT: ReactOS Applications Manager
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: base/applications/rapps/aboutdlg.c
5 * PURPOSE: About Dialog
6 * PROGRAMMERS: Dmitry Chapyshev (dmitry@reactos.org)
7 */
8
9 #include "rapps.h"
10
11 static
12 INT_PTR CALLBACK
13 AboutDlgProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam)
14 {
15 switch (Msg)
16 {
17 case WM_COMMAND:
18 {
19 switch (LOWORD(wParam))
20 {
21 case IDOK:
22 EndDialog(hDlg, LOWORD(wParam));
23 break;
24 }
25 }
26 break;
27 }
28
29 return FALSE;
30 }
31
32 VOID
33 ShowAboutDialog(VOID)
34 {
35 DialogBox(hInst,
36 MAKEINTRESOURCE(IDD_ABOUT_DIALOG),
37 hMainWnd,
38 AboutDlgProc);
39 }