fix compile with msvc
Modified: trunk/reactos/subsys/system/msconfig/msconfig.xml
Modified: trunk/reactos/subsys/system/msconfig/srvpage.c
Modified: trunk/reactos/subsys/system/msconfig/toolspage.c
_____
Modified: trunk/reactos/subsys/system/msconfig/msconfig.xml
--- trunk/reactos/subsys/system/msconfig/msconfig.xml 2005-10-18
23:25:46 UTC (rev 18577)
+++ trunk/reactos/subsys/system/msconfig/msconfig.xml 2005-10-18
23:34:34 UTC (rev 18578)
@@ -9,6 +9,7 @@
<library>kernel32</library>
<library>user32</library>
<library>comctl32</library>
+ <library>shell32</library>
<file>toolspage.c</file>
<file>srvpage.c</file>
<file>msconfig.c</file>
_____
Modified: trunk/reactos/subsys/system/msconfig/srvpage.c
--- trunk/reactos/subsys/system/msconfig/srvpage.c 2005-10-18
23:25:46 UTC (rev 18577)
+++ trunk/reactos/subsys/system/msconfig/srvpage.c 2005-10-18
23:34:34 UTC (rev 18578)
@@ -9,6 +9,7 @@
{
LV_COLUMN column;
TCHAR szTemp[256];
+ DWORD dwStyle;
switch (message) {
case WM_INITDIALOG:
@@ -16,7 +17,6 @@
hServicesListCtrl = GetDlgItem(hDlg, IDC_TOOLS_LIST);
hServicesDialog = hDlg;
- DWORD dwStyle;
dwStyle = SendMessage(hServicesListCtrl,
LVM_GETEXTENDEDLISTVIEWSTYLE, 0, 0);
dwStyle = dwStyle | LVS_EX_FULLROWSELECT | LVS_EX_CHECKBOXES;
SendMessage(hServicesListCtrl, LVM_SETEXTENDEDLISTVIEWSTYLE, 0,
dwStyle);
_____
Modified: trunk/reactos/subsys/system/msconfig/toolspage.c
--- trunk/reactos/subsys/system/msconfig/toolspage.c 2005-10-18
23:25:46 UTC (rev 18577)
+++ trunk/reactos/subsys/system/msconfig/toolspage.c 2005-10-18
23:34:34 UTC (rev 18578)
@@ -47,6 +47,7 @@
TCHAR szTemp2[256];
LPNMITEMACTIVATE lpnmitem;
LPNMHDR nmh;
+ DWORD dwStyle;
switch (message) {
case WM_INITDIALOG:
@@ -54,7 +55,6 @@
hToolsListCtrl = GetDlgItem(hDlg, IDC_TOOLS_LIST);
hToolsDialog = hDlg;
- DWORD dwStyle;
dwStyle = SendMessage(hToolsListCtrl,
LVM_GETEXTENDEDLISTVIEWSTYLE, 0, 0);
dwStyle = dwStyle | LVS_EX_FULLROWSELECT;
SendMessage(hToolsListCtrl, LVM_SETEXTENDEDLISTVIEWSTYLE, 0,
dwStyle);
Show replies by date