ReactOS  0.4.11-dev-946-g431643b
aboutdlg.cpp
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS Applications Manager
3  * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4  * FILE: base/applications/rapps/aboutdlg.cpp
5  * PURPOSE: About Dialog
6  * COPYRIGHT: Copyright 2009 Dmitry Chapyshev (dmitry@reactos.org)
7  * Copyright 2017 Alexander Shaposhikov (sanchaez@reactos.org)
8  */
9 #include "rapps.h"
10 
12 {
13  if ((Msg == WM_COMMAND) &&
14  (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL))
15  {
16  return EndDialog(hDlg, LOWORD(wParam));
17  }
18 
19  return FALSE;
20 }
21 
23 {
26  hMainWnd,
27  AboutDlgProc);
28 }
#define IDOK
Definition: winuser.h:824
#define IDD_ABOUT_DIALOG
Definition: resource.h:61
#define CALLBACK
Definition: compat.h:27
int32_t INT_PTR
Definition: typedefs.h:62
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
WPARAM wParam
Definition: combotst.c:138
struct @1571 Msg[]
UINT_PTR WPARAM
Definition: windef.h:207
LONG_PTR LPARAM
Definition: windef.h:208
#define DialogBoxW(i, t, p, f)
Definition: winuser.h:4268
VOID ShowAboutDialog()
Definition: aboutdlg.cpp:22
unsigned int UINT
Definition: ndis.h:50
HWND hMainWnd
Definition: magnifier.c:33
#define WM_COMMAND
Definition: winuser.h:1716
static INT_PTR CALLBACK AboutDlgProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam)
Definition: aboutdlg.cpp:11
HINSTANCE hInst
Definition: dxdiag.c:13
#define MAKEINTRESOURCEW(i)
Definition: winuser.h:582
#define IDCANCEL
Definition: winuser.h:825
LPARAM lParam
Definition: combotst.c:139
#define LOWORD(l)
Definition: pedump.c:82