Author: cwittich
Date: Sat Jun 24 00:08:52 2006
New Revision: 22546
URL:
http://svn.reactos.org/svn/reactos?rev=22546&view=rev
Log:
-fixed some warnings (msvc)
Modified:
trunk/reactos/dll/cpl/access/access.c
trunk/reactos/dll/cpl/access/display.c
trunk/reactos/dll/cpl/access/keyboard.c
trunk/reactos/dll/cpl/access/mouse.c
trunk/reactos/dll/cpl/access/sound.c
trunk/reactos/dll/cpl/appwiz/appwiz.c
trunk/reactos/dll/cpl/hdwwiz/hdwwiz.c
Modified: trunk/reactos/dll/cpl/access/access.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/access.c?re…
==============================================================================
--- trunk/reactos/dll/cpl/access/access.c (original)
+++ trunk/reactos/dll/cpl/access/access.c Sat Jun 24 00:08:52 2006
@@ -52,6 +52,7 @@
LPARAM lParam
)
{
+ UNREFERENCED_PARAMETER(hwndDlg)
switch(uMsg)
{
case PSCB_BUTTONPRESSED:
@@ -99,11 +100,11 @@
psh.ppsp = psp;
psh.pfnCallback = PropSheetProc;
- InitPropSheetPage(&psp[0], IDD_PROPPAGEKEYBOARD, KeyboardPageProc);
- InitPropSheetPage(&psp[1], IDD_PROPPAGESOUND, SoundPageProc);
- InitPropSheetPage(&psp[2], IDD_PROPPAGEDISPLAY, DisplayPageProc);
- InitPropSheetPage(&psp[3], IDD_PROPPAGEMOUSE, MousePageProc);
- InitPropSheetPage(&psp[4], IDD_PROPPAGEGENERAL, GeneralPageProc);
+ InitPropSheetPage(&psp[0], IDD_PROPPAGEKEYBOARD, (DLGPROC) KeyboardPageProc);
+ InitPropSheetPage(&psp[1], IDD_PROPPAGESOUND, (DLGPROC) SoundPageProc);
+ InitPropSheetPage(&psp[2], IDD_PROPPAGEDISPLAY, (DLGPROC) DisplayPageProc);
+ InitPropSheetPage(&psp[3], IDD_PROPPAGEMOUSE, (DLGPROC) MousePageProc);
+ InitPropSheetPage(&psp[4], IDD_PROPPAGEGENERAL, (DLGPROC) GeneralPageProc);
return (LONG)(PropertySheet(&psh) != -1);
}
@@ -117,7 +118,8 @@
LPARAM lParam2)
{
int i = (int)lParam1;
-
+ UNREFERENCED_PARAMETER(hwndCPl)
+
switch(uMsg)
{
case CPL_INIT:
@@ -153,6 +155,7 @@
DWORD dwReason,
LPVOID lpvReserved)
{
+ UNREFERENCED_PARAMETER(lpvReserved)
switch(dwReason)
{
case DLL_PROCESS_ATTACH:
Modified: trunk/reactos/dll/cpl/access/display.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/display.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/access/display.c (original)
+++ trunk/reactos/dll/cpl/access/display.c Sat Jun 24 00:08:52 2006
@@ -22,6 +22,8 @@
LPARAM lParam
)
{
+ UNREFERENCED_PARAMETER(lParam)
+ UNREFERENCED_PARAMETER(hwndDlg)
switch(uMsg)
{
case WM_INITDIALOG:
Modified: trunk/reactos/dll/cpl/access/keyboard.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/keyboard.c?…
==============================================================================
--- trunk/reactos/dll/cpl/access/keyboard.c (original)
+++ trunk/reactos/dll/cpl/access/keyboard.c Sat Jun 24 00:08:52 2006
@@ -22,6 +22,8 @@
LPARAM lParam
)
{
+ UNREFERENCED_PARAMETER(lParam)
+ UNREFERENCED_PARAMETER(hwndDlg)
switch(uMsg)
{
case WM_INITDIALOG:
Modified: trunk/reactos/dll/cpl/access/mouse.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/mouse.c?rev…
==============================================================================
--- trunk/reactos/dll/cpl/access/mouse.c (original)
+++ trunk/reactos/dll/cpl/access/mouse.c Sat Jun 24 00:08:52 2006
@@ -22,6 +22,8 @@
LPARAM lParam
)
{
+ UNREFERENCED_PARAMETER(lParam)
+ UNREFERENCED_PARAMETER(hwndDlg)
switch(uMsg)
{
case WM_INITDIALOG:
Modified: trunk/reactos/dll/cpl/access/sound.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/sound.c?rev…
==============================================================================
--- trunk/reactos/dll/cpl/access/sound.c (original)
+++ trunk/reactos/dll/cpl/access/sound.c Sat Jun 24 00:08:52 2006
@@ -22,6 +22,8 @@
LPARAM lParam
)
{
+ UNREFERENCED_PARAMETER(lParam)
+ UNREFERENCED_PARAMETER(hwndDlg)
switch(uMsg)
{
case WM_INITDIALOG:
Modified: trunk/reactos/dll/cpl/appwiz/appwiz.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/appwiz/appwiz.c?re…
==============================================================================
--- trunk/reactos/dll/cpl/appwiz/appwiz.c (original)
+++ trunk/reactos/dll/cpl/appwiz/appwiz.c Sat Jun 24 00:08:52 2006
@@ -195,6 +195,7 @@
static INT_PTR CALLBACK
InstallPageProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam)
{
+ UNREFERENCED_PARAMETER(lParam)
switch (uMsg)
{
case WM_INITDIALOG:
@@ -234,6 +235,9 @@
static INT_PTR CALLBACK
RosPageProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam)
{
+ UNREFERENCED_PARAMETER(lParam)
+ UNREFERENCED_PARAMETER(wParam)
+ UNREFERENCED_PARAMETER(hwndDlg)
switch(uMsg)
{
case WM_INITDIALOG:
@@ -279,8 +283,8 @@
psh.ppsp = psp;
psh.pfnCallback = NULL;
- InitPropSheetPage(&psp[0], IDD_PROPPAGEINSTALL, InstallPageProc);
- InitPropSheetPage(&psp[1], IDD_PROPPAGEROSSETUP, RosPageProc);
+ InitPropSheetPage(&psp[0], IDD_PROPPAGEINSTALL, (DLGPROC) InstallPageProc);
+ InitPropSheetPage(&psp[1], IDD_PROPPAGEROSSETUP, (DLGPROC) RosPageProc);
return (LONG)(PropertySheet(&psh) != -1);
}
@@ -292,6 +296,8 @@
{
CPLINFO *CPlInfo;
DWORD i;
+
+ UNREFERENCED_PARAMETER(hwndCPl)
i = (DWORD)lParam1;
switch(uMsg)
@@ -322,6 +328,7 @@
BOOL WINAPI
DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved)
{
+ UNREFERENCED_PARAMETER(lpvReserved)
switch(dwReason)
{
case DLL_PROCESS_ATTACH:
Modified: trunk/reactos/dll/cpl/hdwwiz/hdwwiz.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/hdwwiz.c?re…
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/hdwwiz.c (original)
+++ trunk/reactos/dll/cpl/hdwwiz/hdwwiz.c Sat Jun 24 00:08:52 2006
@@ -52,6 +52,10 @@
DWORD Reboot;
BOOL ret;
LONG rc;
+
+ UNREFERENCED_PARAMETER(lParam)
+ UNREFERENCED_PARAMETER(wParam)
+ UNREFERENCED_PARAMETER(uMsg)
hNewDev = LoadLibrary(_T("newdev.dll"));
if (!hNewDev)
@@ -136,6 +140,7 @@
BOOL WINAPI
DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved)
{
+ UNREFERENCED_PARAMETER(lpvReserved)
switch(dwReason)
{
case DLL_PROCESS_ATTACH: