ReactOS 0.4.15-dev-7887-g64a59a1
srvpage.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 ServicesPageWndProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
 

Variables

HWND hServicesPage
 
HWND hServicesListCtrl
 

Function Documentation

◆ ServicesPageWndProc()

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

Definition at line 22 of file srvpage.c.

23{
25 TCHAR szTemp[256];
26 DWORD dwStyle;
27
30
31 switch (message) {
32 case WM_INITDIALOG:
33
35 hServicesDialog = hDlg;
36
38 dwStyle = dwStyle | LVS_EX_FULLROWSELECT | LVS_EX_CHECKBOXES;
40
42
43 // Initialize the application page's controls
45
47 column.pszText = szTemp;
48 column.cx = 200;
50
53 column.pszText = szTemp;
54 column.cx = 70;
56
59 column.pszText = szTemp;
60 column.cx = 200;
62
65 column.pszText = szTemp;
66 column.cx = 70;
68
70 return TRUE;
71 }
72
73 return 0;
74}
#define IDS_SERVICES_COLUMN_VENDOR
Definition: resource.h:83
#define IDS_SERVICES_COLUMN_SERVICE
Definition: resource.h:81
#define IDS_SERVICES_COLUMN_REQ
Definition: resource.h:82
#define IDC_SERVICES_LIST
Definition: resource.h:17
#define IDS_SERVICES_COLUMN_STATUS
Definition: resource.h:84
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
HINSTANCE hInst
Definition: dxdiag.c:13
unsigned long DWORD
Definition: ntddk_ex.h:95
#define DWORD
Definition: nt_native.h:44
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317
#define ListView_InsertColumn(hwnd, iCol, pcol)
Definition: commctrl.h:2636
#define LVCF_WIDTH
Definition: commctrl.h:2587
#define LVS_EX_CHECKBOXES
Definition: commctrl.h:2731
#define LVS_EX_FULLROWSELECT
Definition: commctrl.h:2734
#define LVM_GETEXTENDEDLISTVIEWSTYLE
Definition: commctrl.h:2727
#define LVCF_TEXT
Definition: commctrl.h:2588
#define LVM_SETEXTENDEDLISTVIEWSTYLE
Definition: commctrl.h:2724
#define LV_COLUMN
Definition: commctrl.h:2547
HWND hServicesListCtrl
Definition: srvpage.c:16
HWND hServicesDialog
Definition: srvpage.c:17
void GetServices(void)
Definition: srvpage.c:77
Definition: tftpd.h:60
#define SWP_NOACTIVATE
Definition: winuser.h:1242
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
#define SWP_NOSIZE
Definition: winuser.h:1245
#define WM_INITDIALOG
Definition: winuser.h:1739
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
#define SendMessage
Definition: winuser.h:5843
#define LoadString
Definition: winuser.h:5819
#define SWP_NOOWNERZORDER
Definition: winuser.h:1249
#define SWP_NOZORDER
Definition: winuser.h:1247
char TCHAR
Definition: xmlstorage.h:189

Variable Documentation

◆ hServicesListCtrl

HWND hServicesListCtrl
extern

Definition at line 16 of file srvpage.c.

Referenced by GetServices(), MsConfigWndProc(), and ServicesPageWndProc().

◆ hServicesPage

HWND hServicesPage
extern

Definition at line 15 of file srvpage.c.

Referenced by MsConfig_OnTabWndSelChange(), MsConfigWndProc(), and OnCreate().