ReactOS 0.4.15-dev-7131-ge4d03f4
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}
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317
#define LOWORD(l)
Definition: pedump.c:82
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
#define IDCANCEL
Definition: winuser.h:830
#define WM_COMMAND
Definition: winuser.h:1739
#define WM_INITDIALOG
Definition: winuser.h:1738
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)

Referenced by MenuCommand().