ReactOS 0.4.16-dev-197-g92996da
generalpage.c File Reference
#include "precomp.h"
Include dependency graph for generalpage.c:

Go to the source code of this file.

Functions

VOID EnableCheckboxControls (HWND hDlg, BOOL bEnable)
 
INT_PTR CALLBACK GeneralPageWndProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
 

Variables

HWND hGeneralPage
 
HWND hGeneralDialog
 

Function Documentation

◆ EnableCheckboxControls()

VOID EnableCheckboxControls ( HWND  hDlg,
BOOL  bEnable 
)

Definition at line 16 of file generalpage.c.

17{
21}
#define IDC_CBX_SYSTEM_INI
Definition: resource.h:27
#define IDC_CBX_SYSTEM_SERVICE
Definition: resource.h:28
#define IDC_CBX_STARTUP_ITEM
Definition: resource.h:29
_In_ BOOL bEnable
Definition: winddi.h:3426
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)

Referenced by GeneralPageWndProc().

◆ GeneralPageWndProc()

INT_PTR CALLBACK GeneralPageWndProc ( HWND  hDlg,
UINT  message,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 25 of file generalpage.c.

26{
28
29 switch (message)
30 {
31 case WM_INITDIALOG:
32 hGeneralDialog = hDlg;
34 /* FIXME */
37 return TRUE;
38 case WM_COMMAND:
39 switch(LOWORD(wParam))
40 {
44 break;
47 break;
48 default:
49 break;
50 }
51 }
52 return 0;
53}
#define IDC_CBX_NORMAL_START
Definition: resource.h:24
#define IDC_CBX_DIAGNOSTIC_START
Definition: resource.h:25
#define IDC_CBX_SELECTIVE_STARTUP
Definition: resource.h:26
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
VOID EnableCheckboxControls(HWND hDlg, BOOL bEnable)
Definition: generalpage.c:16
HWND hGeneralDialog
Definition: generalpage.c:13
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317
#define LOWORD(l)
Definition: pedump.c:82
Definition: tftpd.h:60
#define SWP_NOACTIVATE
Definition: winuser.h:1245
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
#define WM_COMMAND
Definition: winuser.h:1743
#define SWP_NOSIZE
Definition: winuser.h:1248
#define WM_INITDIALOG
Definition: winuser.h:1742
#define BM_SETCHECK
Definition: winuser.h:1924
#define SWP_NOOWNERZORDER
Definition: winuser.h:1252
#define SWP_NOZORDER
Definition: winuser.h:1250
#define SendDlgItemMessage
Definition: winuser.h:5854
#define BST_CHECKED
Definition: winuser.h:197

Referenced by CreatePropSheet(), EventLogProperties(), and OnCreate().

Variable Documentation

◆ hGeneralDialog

HWND hGeneralDialog

Definition at line 13 of file generalpage.c.

Referenced by GeneralPageWndProc().

◆ hGeneralPage