ReactOS  0.4.12-dev-14-gd0c8636
freeldrpage.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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

Variables

LPCWSTR lpszFreeLdrIni
 
LPCWSTR lpszBootIni
 

Function Documentation

◆ FreeLdrPageWndProc()

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

Definition at line 134 of file freeldrpage.c.

Referenced by CreatePropSheet(), and OnCreate().

135 {
136  LRESULT pos;
137 
138  switch (message) {
139  case WM_INITDIALOG:
140  hFreeLdrDialog = hDlg;
143  return TRUE;
144  case WM_COMMAND:
145  switch(HIWORD(wParam))
146  {
147  case LBN_SELCHANGE:
148  pos = SendMessage((HWND)lParam, LB_GETCURSEL, 0, 0);
149  if (pos != LB_ERR)
150  {
152  if (!res) /* line is not a default one */
154  else
156 
157 
158  }
159  break;
160  }
161  }
162  return 0;
163 }
#define LB_SETCURSEL
Definition: winuser.h:2024
Definition: tftpd.h:59
#define TRUE
Definition: types.h:120
#define LB_GETITEMDATA
Definition: winuser.h:2002
#define SWP_NOZORDER
Definition: winuser.h:1232
#define LBN_SELCHANGE
Definition: winuser.h:2036
WPARAM wParam
Definition: combotst.c:138
#define LB_ERR
Definition: winuser.h:2386
LONG_PTR LPARAM
Definition: windef.h:208
static BOOL InitializeFreeLDRDialog(HWND hDlg)
Definition: freeldrpage.c:118
smooth NULL
Definition: ftsmooth.c:416
#define SWP_NOACTIVATE
Definition: winuser.h:1227
#define WM_COMMAND
Definition: winuser.h:1716
#define SWP_NOSIZE
Definition: winuser.h:1230
#define LB_GETCURSEL
Definition: winuser.h:2000
static FREELDR_SETTINGS Settings
Definition: freeldrpage.c:24
#define SendMessage
Definition: winuser.h:5709
GLuint res
Definition: glext.h:9613
#define HIWORD(l)
Definition: typedefs.h:246
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
LONG_PTR LRESULT
Definition: windef.h:209
HWND hFreeLdrDialog
Definition: freeldrpage.c:13
#define WM_INITDIALOG
Definition: winuser.h:1715
LPARAM lParam
Definition: combotst.c:139
#define SWP_NOOWNERZORDER
Definition: winuser.h:1234

Variable Documentation

◆ lpszBootIni

LPCWSTR lpszBootIni

Definition at line 22 of file freeldrpage.c.

Referenced by CreatePropSheet().

◆ lpszFreeLdrIni

LPCWSTR lpszFreeLdrIni

Definition at line 21 of file freeldrpage.c.

Referenced by CreatePropSheet().