ReactOS 0.4.15-dev-7887-g64a59a1
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

HWND hFreeLdrPage
 

Function Documentation

◆ FreeLdrPageWndProc()

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

Definition at line 134 of file freeldrpage.c.

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:
149 if (pos != LB_ERR)
150 {
152 if (!res) /* line is not a default one */
153 SendMessage((HWND)lParam, LB_SETCURSEL, Settings.szDefaultPos, 0);
154 else
155 Settings.szDefaultPos = pos;
156
157
158 }
159 break;
160 }
161 }
162 return 0;
163}
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
GLuint res
Definition: glext.h:9613
static BOOL InitializeFreeLDRDialog(HWND hDlg)
Definition: freeldrpage.c:118
HWND hFreeLdrDialog
Definition: freeldrpage.c:13
Definition: tftpd.h:60
#define HIWORD(l)
Definition: typedefs.h:247
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_POWER_POLICY_IDLE_SETTINGS Settings
Definition: wdfdevice.h:2595
LONG_PTR LPARAM
Definition: windef.h:208
LONG_PTR LRESULT
Definition: windef.h:209
#define LB_ERR
Definition: winuser.h:2432
#define SWP_NOACTIVATE
Definition: winuser.h:1242
#define LB_GETITEMDATA
Definition: winuser.h:2041
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
#define WM_COMMAND
Definition: winuser.h:1740
#define SWP_NOSIZE
Definition: winuser.h:1245
#define WM_INITDIALOG
Definition: winuser.h:1739
#define SendMessage
Definition: winuser.h:5843
#define LBN_SELCHANGE
Definition: winuser.h:2075
#define SWP_NOOWNERZORDER
Definition: winuser.h:1249
#define LB_SETCURSEL
Definition: winuser.h:2063
#define SWP_NOZORDER
Definition: winuser.h:1247
#define LB_GETCURSEL
Definition: winuser.h:2039

Variable Documentation

◆ hFreeLdrPage

HWND hFreeLdrPage
extern