Author: cwittich
Date: Sat Jun 24 00:49:21 2006
New Revision: 22547
URL:
http://svn.reactos.org/svn/reactos?rev=22547&view=rev
Log:
-fixed some warnings (msvc)
Modified:
trunk/reactos/base/applications/msconfig/freeldrpage.c
trunk/reactos/base/applications/msconfig/generalpage.c
trunk/reactos/base/applications/msconfig/msconfig.c
trunk/reactos/base/applications/msconfig/srvpage.c
trunk/reactos/base/applications/msconfig/startuppage.c
trunk/reactos/base/applications/msconfig/systempage.c
Modified: trunk/reactos/base/applications/msconfig/freeldrpage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/msconfig…
==============================================================================
--- trunk/reactos/base/applications/msconfig/freeldrpage.c (original)
+++ trunk/reactos/base/applications/msconfig/freeldrpage.c Sat Jun 24 00:49:21 2006
@@ -15,6 +15,9 @@
INT_PTR CALLBACK
FreeLdrPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
+ UNREFERENCED_PARAMETER(lParam)
+ UNREFERENCED_PARAMETER(wParam)
+
switch (message) {
case WM_INITDIALOG:
hFreeLdrDialog = hDlg;
Modified: trunk/reactos/base/applications/msconfig/generalpage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/msconfig…
==============================================================================
--- trunk/reactos/base/applications/msconfig/generalpage.c (original)
+++ trunk/reactos/base/applications/msconfig/generalpage.c Sat Jun 24 00:49:21 2006
@@ -15,6 +15,9 @@
INT_PTR CALLBACK
GeneralPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
+ UNREFERENCED_PARAMETER(lParam)
+ UNREFERENCED_PARAMETER(wParam)
+
switch (message) {
case WM_INITDIALOG:
hGeneralDialog = hDlg;
Modified: trunk/reactos/base/applications/msconfig/msconfig.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/msconfig…
==============================================================================
--- trunk/reactos/base/applications/msconfig/msconfig.c (original)
+++ trunk/reactos/base/applications/msconfig/msconfig.c Sat Jun 24 00:49:21 2006
@@ -21,12 +21,12 @@
TCITEM item;
hTabWnd = GetDlgItem(hWnd, IDC_TAB);
- hGeneralPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_GENERAL_PAGE), hWnd,
GeneralPageWndProc);
- hSystemPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_SYSTEM_PAGE), hWnd,
SystemPageWndProc);
- hFreeLdrPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_FREELDR_PAGE), hWnd,
FreeLdrPageWndProc);
- hServicesPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_SERVICES_PAGE), hWnd,
ServicesPageWndProc);
- hStartupPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_STARTUP_PAGE), hWnd,
StartupPageWndProc);
- hToolsPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_TOOLS_PAGE), hWnd,
ToolsPageWndProc);
+ hGeneralPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_GENERAL_PAGE), hWnd, (DLGPROC)
GeneralPageWndProc);
+ hSystemPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_SYSTEM_PAGE), hWnd, (DLGPROC)
SystemPageWndProc);
+ hFreeLdrPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_FREELDR_PAGE), hWnd, (DLGPROC)
FreeLdrPageWndProc);
+ hServicesPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_SERVICES_PAGE), hWnd,
(DLGPROC) ServicesPageWndProc);
+ hStartupPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_STARTUP_PAGE), hWnd, (DLGPROC)
StartupPageWndProc);
+ hToolsPage = CreateDialog(hInst, MAKEINTRESOURCE(IDD_TOOLS_PAGE), hWnd, (DLGPROC)
ToolsPageWndProc);
LoadString(hInst, IDS_MSCONFIG, szTemp, 256);
SetWindowText(hWnd, szTemp);
@@ -192,13 +192,17 @@
INITCOMMONCONTROLSEX InitControls;
+ UNREFERENCED_PARAMETER(hPrevInstance)
+ UNREFERENCED_PARAMETER(lpCmdLine)
+ UNREFERENCED_PARAMETER(nCmdShow)
+
InitControls.dwSize = sizeof(INITCOMMONCONTROLSEX);
InitControls.dwICC = ICC_TAB_CLASSES | ICC_LISTVIEW_CLASSES;
InitCommonControlsEx(&InitControls);
hInst = hInstance;
- DialogBox(hInst, (LPCTSTR)IDD_MSCONFIG_DIALOG, NULL, MsConfigWndProc);
+ DialogBox(hInst, (LPCTSTR)IDD_MSCONFIG_DIALOG, NULL, (DLGPROC) MsConfigWndProc);
return 0;
}
Modified: trunk/reactos/base/applications/msconfig/srvpage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/msconfig…
==============================================================================
--- trunk/reactos/base/applications/msconfig/srvpage.c (original)
+++ trunk/reactos/base/applications/msconfig/srvpage.c Sat Jun 24 00:49:21 2006
@@ -21,6 +21,9 @@
LV_COLUMN column;
TCHAR szTemp[256];
DWORD dwStyle;
+
+ UNREFERENCED_PARAMETER(lParam)
+ UNREFERENCED_PARAMETER(wParam)
switch (message) {
case WM_INITDIALOG:
Modified: trunk/reactos/base/applications/msconfig/startuppage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/msconfig…
==============================================================================
--- trunk/reactos/base/applications/msconfig/startuppage.c (original)
+++ trunk/reactos/base/applications/msconfig/startuppage.c Sat Jun 24 00:49:21 2006
@@ -21,6 +21,9 @@
LV_COLUMN column;
TCHAR szTemp[256];
DWORD dwStyle;
+
+ UNREFERENCED_PARAMETER(lParam)
+ UNREFERENCED_PARAMETER(wParam)
switch (message) {
case WM_INITDIALOG:
Modified: trunk/reactos/base/applications/msconfig/systempage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/msconfig…
==============================================================================
--- trunk/reactos/base/applications/msconfig/systempage.c (original)
+++ trunk/reactos/base/applications/msconfig/systempage.c Sat Jun 24 00:49:21 2006
@@ -14,6 +14,8 @@
INT_PTR CALLBACK
SystemPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
+ UNREFERENCED_PARAMETER(lParam)
+ UNREFERENCED_PARAMETER(wParam)
switch (message) {
case WM_INITDIALOG:
hSystemDialog = hDlg;