ReactOS  0.4.13-dev-259-g5ca9c9c
settings.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

BOOL LoadDataFromRegistry (VOID)
 
BOOL SaveDataToRegistry (VOID)
 
INT_PTR CALLBACK OSK_WarningProc (HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam)
 

Function Documentation

◆ LoadDataFromRegistry()

BOOL LoadDataFromRegistry ( VOID  )

◆ OSK_WarningProc()

INT_PTR CALLBACK OSK_WarningProc ( HWND  hDlg,
UINT  Msg,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 68 of file main.c.

69 {
71 
72  switch (Msg)
73  {
74  case WM_INITDIALOG:
75  {
76  return TRUE;
77  }
78 
79  case WM_COMMAND:
80  {
81  switch (LOWORD(wParam))
82  {
84  {
85  Globals.bShowWarning = !IsDlgButtonChecked(hDlg, IDC_SHOWWARNINGCHECK);
86  return TRUE;
87  }
88 
89  case IDOK:
90  case IDCANCEL:
91  {
92  EndDialog(hDlg, LOWORD(wParam));
93  return TRUE;
94  }
95  }
96  break;
97  }
98  }
99 
100  return FALSE;
101 }
#define TRUE
Definition: types.h:120
#define IDOK
Definition: winuser.h:824
NOTEPAD_GLOBALS Globals
Definition: main.c:29
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:323
#define IDC_SHOWWARNINGCHECK
Definition: resource.h:25
struct @1567 Msg[]
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
WPARAM wParam
Definition: combotst.c:138
UINT WINAPI IsDlgButtonChecked(_In_ HWND, _In_ int)
#define WM_COMMAND
Definition: winuser.h:1716
#define IDCANCEL
Definition: winuser.h:825
#define WM_INITDIALOG
Definition: winuser.h:1715
LPARAM lParam
Definition: combotst.c:139
#define LOWORD(l)
Definition: pedump.c:82

Referenced by wWinMain().

◆ SaveDataToRegistry()

BOOL SaveDataToRegistry ( VOID  )