ReactOS  0.4.13-dev-698-g77671f0
aboutdlg.c File Reference
#include "precomp.h"
Include dependency graph for aboutdlg.c:

Go to the source code of this file.

Functions

INT_PTR CALLBACK AboutDlgProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 

Function Documentation

◆ AboutDlgProc()

INT_PTR CALLBACK AboutDlgProc ( HWND  hwnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 11 of file aboutdlg.c.

12 {
14 
15  switch(uMsg)
16  {
17  case WM_COMMAND:
18  if( LOWORD(wParam) == IDCANCEL )
19  {
20  EndDialog(hwnd, 0);
21  return TRUE;
22  }
23  break;
24 
25  case WM_INITDIALOG:
26  return TRUE;
27  }
28 
29  return FALSE;
30 }
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
#define TRUE
Definition: types.h:120
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:323
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
WPARAM wParam
Definition: combotst.c:138
#define WM_COMMAND
Definition: winuser.h:1722
#define IDCANCEL
Definition: winuser.h:825
#define WM_INITDIALOG
Definition: winuser.h:1721
LPARAM lParam
Definition: combotst.c:139
#define LOWORD(l)
Definition: pedump.c:82

Referenced by MenuCommand().