[ros-diffs] [fireball] 22979: Re-apply fixes to CPL accidentally reverted by Magnus's reverting commit

fireball at svn.reactos.org fireball at svn.reactos.org
Sun Jul 9 23:10:43 CEST 2006


Author: fireball
Date: Mon Jul 10 01:10:40 2006
New Revision: 22979

URL: http://svn.reactos.org/svn/reactos?rev=22979&view=rev
Log:
Re-apply fixes to CPL accidentally reverted by Magnus's reverting commit

Modified:
    trunk/reactos/dll/cpl/access/access.c
    trunk/reactos/dll/cpl/access/display.c
    trunk/reactos/dll/cpl/access/general.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/desk/appearance.c
    trunk/reactos/dll/cpl/desk/background.c
    trunk/reactos/dll/cpl/desk/desk.c
    trunk/reactos/dll/cpl/desk/settings.c
    trunk/reactos/dll/cpl/hdwwiz/hdwwiz.c
    trunk/reactos/dll/cpl/intl_new/En.rc
    trunk/reactos/dll/cpl/intl_new/extra.c
    trunk/reactos/dll/cpl/intl_new/intl.c
    trunk/reactos/dll/cpl/intl_new/locale.c
    trunk/reactos/dll/cpl/main/keyboard.c
    trunk/reactos/dll/cpl/main/main.c
    trunk/reactos/dll/cpl/main/mouse.c
    trunk/reactos/dll/cpl/mmsys/mmsys.c
    trunk/reactos/dll/cpl/ncpa/ncpa.c
    trunk/reactos/dll/cpl/powercfg/alarms.c
    trunk/reactos/dll/cpl/powercfg/powercfg.c
    trunk/reactos/dll/cpl/powercfg/powershemes.c
    trunk/reactos/dll/cpl/sysdm/advanced.c
    trunk/reactos/dll/cpl/sysdm/computer.c
    trunk/reactos/dll/cpl/sysdm/general.c
    trunk/reactos/dll/cpl/sysdm/hardware.c
    trunk/reactos/dll/cpl/sysdm/sysdm.c
    trunk/reactos/dll/cpl/sysdm/userprofile.c
    trunk/reactos/dll/cpl/sysdm/virtmem.c

Modified: trunk/reactos/dll/cpl/access/access.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/access.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/access/access.c (original)
+++ trunk/reactos/dll/cpl/access/access.c Mon Jul 10 01:10:40 2006
@@ -52,7 +52,7 @@
 	LPARAM lParam
 )
 {
-  UNREFERENCED_PARAMETER(hwndDlg)
+  UNREFERENCED_PARAMETER(hwndDlg);
   switch(uMsg)
   {
     case PSCB_BUTTONPRESSED:
@@ -118,7 +118,7 @@
 	LPARAM lParam2)
 {
   int i = (int)lParam1;
-  UNREFERENCED_PARAMETER(hwndCPl)
+  UNREFERENCED_PARAMETER(hwndCPl);
 
   switch(uMsg)
   {
@@ -155,7 +155,7 @@
 	DWORD     dwReason,
 	LPVOID    lpvReserved)
 {
-  UNREFERENCED_PARAMETER(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?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/access/display.c (original)
+++ trunk/reactos/dll/cpl/access/display.c Mon Jul 10 01:10:40 2006
@@ -22,8 +22,8 @@
   LPARAM lParam
 )
 {
-  UNREFERENCED_PARAMETER(lParam)
-  UNREFERENCED_PARAMETER(hwndDlg)
+  UNREFERENCED_PARAMETER(lParam);
+  UNREFERENCED_PARAMETER(hwndDlg);
   switch(uMsg)
   {
     case WM_INITDIALOG:

Modified: trunk/reactos/dll/cpl/access/general.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/general.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/access/general.c (original)
+++ trunk/reactos/dll/cpl/access/general.c Mon Jul 10 01:10:40 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?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/access/keyboard.c (original)
+++ trunk/reactos/dll/cpl/access/keyboard.c Mon Jul 10 01:10:40 2006
@@ -22,8 +22,8 @@
   LPARAM lParam
 )
 {
-  UNREFERENCED_PARAMETER(lParam)
-  UNREFERENCED_PARAMETER(hwndDlg)
+  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=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/access/mouse.c (original)
+++ trunk/reactos/dll/cpl/access/mouse.c Mon Jul 10 01:10:40 2006
@@ -22,8 +22,8 @@
   LPARAM lParam
 )
 {
-  UNREFERENCED_PARAMETER(lParam)
-  UNREFERENCED_PARAMETER(hwndDlg)
+  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=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/access/sound.c (original)
+++ trunk/reactos/dll/cpl/access/sound.c Mon Jul 10 01:10:40 2006
@@ -22,8 +22,8 @@
   LPARAM lParam
 )
 {
-  UNREFERENCED_PARAMETER(lParam)
-  UNREFERENCED_PARAMETER(hwndDlg)
+  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?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/appwiz/appwiz.c (original)
+++ trunk/reactos/dll/cpl/appwiz/appwiz.c Mon Jul 10 01:10:40 2006
@@ -64,7 +64,7 @@
   TCHAR pszUninstallString[MAX_PATH];
   DWORD dwSize;
 
-  nIndex = SendDlgItemMessage(hwndDlg, IDC_SOFTWARELIST, LB_GETCURSEL, 0, 0);
+  nIndex = (int) SendDlgItemMessage(hwndDlg, IDC_SOFTWARELIST, LB_GETCURSEL, 0, 0);
   if (nIndex == -1)
   {
     MessageBox(hwndDlg,
@@ -173,12 +173,12 @@
       {
         if ((!bIsUpdate) && (!bIsSystemComponent))
         {
-          index = SendDlgItemMessage(hwndDlg,IDC_SOFTWARELIST,LB_ADDSTRING,0,(LPARAM)pszDisplayName);
+          index = (ULONG) SendDlgItemMessage(hwndDlg,IDC_SOFTWARELIST,LB_ADDSTRING,0,(LPARAM)pszDisplayName);
           SendDlgItemMessage(hwndDlg,IDC_SOFTWARELIST,LB_SETITEMDATA,index,(LPARAM)hSubKey);
         }
         else if (bIsUpdate && bShowUpdates)
         {
-          index = SendDlgItemMessage(hwndDlg,IDC_SOFTWARELIST,LB_ADDSTRING,0,(LPARAM)pszDisplayName);
+          index = (ULONG) SendDlgItemMessage(hwndDlg,IDC_SOFTWARELIST,LB_ADDSTRING,0,(LPARAM)pszDisplayName);
           SendDlgItemMessage(hwndDlg,IDC_SOFTWARELIST,LB_SETITEMDATA,index,(LPARAM)hSubKey);
         }
       }
@@ -195,7 +195,7 @@
 static INT_PTR CALLBACK
 InstallPageProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam)
 {
-  UNREFERENCED_PARAMETER(lParam)
+  UNREFERENCED_PARAMETER(lParam);
   switch (uMsg)
   {
     case WM_INITDIALOG:
@@ -235,9 +235,9 @@
 static INT_PTR CALLBACK
 RosPageProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam)
 {
-  UNREFERENCED_PARAMETER(lParam)
-  UNREFERENCED_PARAMETER(wParam)
-  UNREFERENCED_PARAMETER(hwndDlg)
+  UNREFERENCED_PARAMETER(lParam);
+  UNREFERENCED_PARAMETER(wParam);
+  UNREFERENCED_PARAMETER(hwndDlg);
   switch(uMsg)
   {
     case WM_INITDIALOG:
@@ -297,7 +297,7 @@
   CPLINFO *CPlInfo;
   DWORD i;
 
-  UNREFERENCED_PARAMETER(hwndCPl)
+  UNREFERENCED_PARAMETER(hwndCPl);
 
   i = (DWORD)lParam1;
   switch(uMsg)
@@ -328,7 +328,7 @@
 BOOL WINAPI
 DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved)
 {
-  UNREFERENCED_PARAMETER(lpvReserved)
+  UNREFERENCED_PARAMETER(lpvReserved);
   switch(dwReason)
   {
     case DLL_PROCESS_ATTACH:

Modified: trunk/reactos/dll/cpl/desk/appearance.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/appearance.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/desk/appearance.c (original)
+++ trunk/reactos/dll/cpl/desk/appearance.c Mon Jul 10 01:10:40 2006
@@ -15,9 +15,9 @@
                                     WPARAM wParam,
                                     LPARAM lParam)
 {
-    UNREFERENCED_PARAMETER(lParam)
-    UNREFERENCED_PARAMETER(wParam)
-    UNREFERENCED_PARAMETER(hwndDlg)
+    UNREFERENCED_PARAMETER(lParam);
+    UNREFERENCED_PARAMETER(wParam);
+    UNREFERENCED_PARAMETER(hwndDlg);
 
     switch(uMsg)
     {

Modified: trunk/reactos/dll/cpl/desk/background.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/background.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/desk/background.c (original)
+++ trunk/reactos/dll/cpl/desk/background.c Mon Jul 10 01:10:40 2006
@@ -302,8 +302,8 @@
 
 BOOL CheckListBoxFilename(HWND list, TCHAR *filename)
 {
-    UNREFERENCED_PARAMETER(filename)
-    UNREFERENCED_PARAMETER(list)
+    UNREFERENCED_PARAMETER(filename);
+    UNREFERENCED_PARAMETER(list);
     return FALSE;
 }
 

Modified: trunk/reactos/dll/cpl/desk/desk.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/desk.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/desk/desk.c (original)
+++ trunk/reactos/dll/cpl/desk/desk.c Mon Jul 10 01:10:40 2006
@@ -49,10 +49,10 @@
     PROPSHEETHEADER psh;
     TCHAR Caption[1024];
     
-    UNREFERENCED_PARAMETER(lParam)
-    UNREFERENCED_PARAMETER(wParam)
-    UNREFERENCED_PARAMETER(uMsg)
-    UNREFERENCED_PARAMETER(hwnd)
+    UNREFERENCED_PARAMETER(lParam);
+    UNREFERENCED_PARAMETER(wParam);
+    UNREFERENCED_PARAMETER(uMsg);
+    UNREFERENCED_PARAMETER(hwnd);
 
     LoadString(hApplet, IDS_CPLNAME, Caption, sizeof(Caption) / sizeof(TCHAR));
     
@@ -114,6 +114,7 @@
 
 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved)
 {
+    UNREFERENCED_PARAMETER(lpvReserved);
     switch(dwReason)
     {
         case DLL_PROCESS_ATTACH:

Modified: trunk/reactos/dll/cpl/desk/settings.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/settings.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/desk/settings.c (original)
+++ trunk/reactos/dll/cpl/desk/settings.c Mon Jul 10 01:10:40 2006
@@ -244,10 +244,10 @@
 		TCHAR Buffer[64];
 		if (LoadString(hApplet, (2900 + Current->dmBitsPerPel), Buffer, sizeof(Buffer) / sizeof(TCHAR)))
 		{
-			index = SendDlgItemMessage(hwndDlg, IDC_SETTINGS_BPP, CB_FINDSTRINGEXACT, (WPARAM)-1, (LPARAM)Buffer);
+			index = (DWORD) SendDlgItemMessage(hwndDlg, IDC_SETTINGS_BPP, CB_FINDSTRINGEXACT, (WPARAM)-1, (LPARAM)Buffer);
 			if (index == (DWORD)CB_ERR)
 			{
-				index = SendDlgItemMessage(hwndDlg, IDC_SETTINGS_BPP, CB_ADDSTRING, 0, (LPARAM)Buffer);
+				index = (DWORD) SendDlgItemMessage(hwndDlg, IDC_SETTINGS_BPP, CB_ADDSTRING, 0, (LPARAM)Buffer);
 				SendDlgItemMessage(hwndDlg, IDC_SETTINGS_BPP, CB_SETITEMDATA, index, Current->dmBitsPerPel);
 			}
 		}
@@ -322,8 +322,8 @@
 	TCHAR Buffer[64];
 
 	SendDlgItemMessage(hwndDlg, IDC_SETTINGS_BPP, WM_GETTEXT, (WPARAM)(sizeof(Buffer) / sizeof(TCHAR)), (LPARAM)Buffer);
-	index = SendDlgItemMessage(hwndDlg, IDC_SETTINGS_BPP, CB_FINDSTRINGEXACT, (WPARAM)-1, (LPARAM)Buffer);
-	dmNewBitsPerPel = SendDlgItemMessage(hwndDlg, IDC_SETTINGS_BPP, CB_GETITEMDATA, index, 0);
+	index = (DWORD) SendDlgItemMessage(hwndDlg, IDC_SETTINGS_BPP, CB_FINDSTRINGEXACT, (WPARAM)-1, (LPARAM)Buffer);
+	dmNewBitsPerPel = (DWORD) SendDlgItemMessage(hwndDlg, IDC_SETTINGS_BPP, CB_GETITEMDATA, index, 0);
 
 	/* find if new parameters are valid */
 	Current = CurrentDisplayDevice->CurrentSettings;
@@ -518,7 +518,7 @@
 				case TB_BOTTOM:
 				case TB_ENDTRACK:
 				{
-					DWORD newPosition = SendDlgItemMessage(hwndDlg, IDC_SETTINGS_RESOLUTION, TBM_GETPOS, 0, 0);
+					DWORD newPosition = (DWORD) SendDlgItemMessage(hwndDlg, IDC_SETTINGS_RESOLUTION, TBM_GETPOS, 0, 0);
 					OnResolutionChanged(hwndDlg, newPosition);
 				}
 			}

Modified: trunk/reactos/dll/cpl/hdwwiz/hdwwiz.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/hdwwiz/hdwwiz.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/hdwwiz/hdwwiz.c (original)
+++ trunk/reactos/dll/cpl/hdwwiz/hdwwiz.c Mon Jul 10 01:10:40 2006
@@ -53,9 +53,9 @@
 	BOOL ret;
 	LONG rc;
 
-	UNREFERENCED_PARAMETER(lParam)
-	UNREFERENCED_PARAMETER(wParam)
-	UNREFERENCED_PARAMETER(uMsg)
+	UNREFERENCED_PARAMETER(lParam);
+	UNREFERENCED_PARAMETER(wParam);
+	UNREFERENCED_PARAMETER(uMsg);
 
 	hNewDev = LoadLibrary(_T("newdev.dll"));
 	if (!hNewDev)
@@ -140,7 +140,7 @@
 BOOL WINAPI
 DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved)
 {
-	UNREFERENCED_PARAMETER(lpvReserved)
+	UNREFERENCED_PARAMETER(lpvReserved);
 	switch(dwReason)
 	{
 		case DLL_PROCESS_ATTACH:

Modified: trunk/reactos/dll/cpl/intl_new/En.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl_new/En.rc?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/intl_new/En.rc (original)
+++ trunk/reactos/dll/cpl/intl_new/En.rc Mon Jul 10 01:10:40 2006
@@ -6,24 +6,24 @@
 FONT 8, "MS Shell Dlg"
 BEGIN
     GROUPBOX "Regional options and standards", IDC_GROUPBOX, 5, 3, 242, 165
-    LTEXT "This option influences a way of display by some programs of numbers, sums of money, dates and time.", IDC_STATIC, 14, 15, 230, 16
-    LTEXT "&Choose an element from the list or press the button ""Setup"" to set formats independently:", IDC_STATIC, 14, 36, 230, 16
+    LTEXT "This option influences a way of display by some programs of numbers, sums of money, dates and time.", -1, 14, 15, 230, 16
+    LTEXT "&Choose an element from the list or press the button ""Setup"" to set formats independently:", -1, 14, 36, 230, 16
     COMBOBOX IDC_SETREG_COMBO, 14, 54, 168, 120, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | 
              WS_VSCROLL | WS_TABSTOP | CBS_SORT
     PUSHBUTTON "Se&tup...", IDC_SETUP_BUTTON, 187, 54, 52, 13
-    LTEXT "Samples", IDC_STATIC, 14, 73, 70, 10
-    LTEXT "Number:", IDC_STATIC, 16, 86, 48, 10 
-    LTEXT "Monetary:", IDC_STATIC, 16, 101, 48, 10
-    LTEXT "Time:", IDC_STATIC, 16, 116, 48, 10
-    LTEXT "Short date:", IDC_STATIC, 16, 131, 48, 10
-    LTEXT "Long date:", IDC_STATIC, 16, 146, 48, 10
+    LTEXT "Samples", -1, 14, 73, 70, 10
+    LTEXT "Number:", -1, 16, 86, 48, 10 
+    LTEXT "Monetary:", -1, 16, 101, 48, 10
+    LTEXT "Time:", -1, 16, 116, 48, 10
+    LTEXT "Short date:", -1, 16, 131, 48, 10
+    LTEXT "Long date:", -1, 16, 146, 48, 10
     EDITTEXT IDC_NUMSAMPLE_EDIT, 69, 86, 170, 12, ES_READONLY | WS_CHILD | WS_VISIBLE | WS_GROUP
     EDITTEXT IDC_MONEYSAMPLE_EDIT, 69, 101, 170, 12, ES_READONLY | WS_CHILD | WS_VISIBLE | WS_GROUP
     EDITTEXT IDC_TIMESAMPLE_EDIT, 69, 116, 170, 12, ES_READONLY | WS_CHILD | WS_VISIBLE | WS_GROUP
     EDITTEXT IDC_SHORTTIMESAMPLE_EDIT, 69, 131, 170, 12, ES_READONLY | WS_CHILD | WS_VISIBLE | WS_GROUP
     EDITTEXT IDC_FULLTIMESAMPLE_EDIT, 69, 146, 170, 12, ES_READONLY | WS_CHILD | WS_VISIBLE | WS_GROUP
-    GROUPBOX "Geographic location", IDC_GROUPBOX, 5, 172, 242, 56
-    LTEXT "Set up your location that services could supply you with the local information, for example, news and reports of weather", IDC_STATIC, 14, 184, 225, 24
+    GROUPBOX "Geographic location", -1, 5, 172, 242, 56
+    LTEXT "Set up your location that services could supply you with the local information, for example, news and reports of weather", -1, 14, 184, 225, 24
     COMBOBOX IDC_LOCATION_COMBO, 14, 211, 225, 40, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | 
              WS_VSCROLL | WS_TABSTOP | CBS_SORT
 END
@@ -36,9 +36,9 @@
     GROUPBOX "Program language that not unicode supported", IDC_GROUPBOX, 5, 5, 242, 90
     COMBOBOX IDC_LANGUAGE_COMBO, 14, 75, 225, 60, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | 
              WS_VSCROLL | WS_TABSTOP | CBS_SORT
-    LTEXT "This option...", IDC_STATIC, 14, 18, 223, 33
-    LTEXT "Select language...", IDC_STATIC, 14, 55, 223, 18
-    GROUPBOX "Transformation tables codepages", IDC_GROUPBOX, 5, 101, 242, 88
+    LTEXT "This option...", -1, 14, 18, 223, 33
+    LTEXT "Select language...", -1, 14, 55, 223, 18
+    GROUPBOX "Transformation tables codepages", -1, 5, 101, 242, 88
 END
 
 STRINGTABLE

Modified: trunk/reactos/dll/cpl/intl_new/extra.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl_new/extra.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/intl_new/extra.c (original)
+++ trunk/reactos/dll/cpl/intl_new/extra.c Mon Jul 10 01:10:40 2006
@@ -33,7 +33,7 @@
     Lcid = wcstoul(lpLanguage, NULL, 16);
 
     GetLocaleInfo(Lcid, LOCALE_SLANGUAGE, Lang, sizeof(Lang));
-    Index = SendMessageW(hLanguageList,
+    Index = (int) SendMessageW(hLanguageList,
                          CB_ADDSTRING,
                          0,
                          (LPARAM)Lang);
@@ -65,7 +65,7 @@
 
     SendMessageW(hLanguageList,
                  CB_SELECTSTRING,
-                 -1,
+                (WPARAM) -1,
                 (LPARAM)LangSel);
 }
 
@@ -75,6 +75,7 @@
 CALLBACK
 ExtraOptsProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
 {
+    UNREFERENCED_PARAMETER(wParam);
     switch(uMsg)
     {
         case WM_INITDIALOG:

Modified: trunk/reactos/dll/cpl/intl_new/intl.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl_new/intl.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/intl_new/intl.c (original)
+++ trunk/reactos/dll/cpl/intl_new/intl.c Mon Jul 10 01:10:40 2006
@@ -53,6 +53,11 @@
     PROPSHEETPAGE PsPage[NUM_SHEETS];
     PROPSHEETHEADER psh;
     TCHAR Caption[MAX_STR_SIZE];
+
+    UNREFERENCED_PARAMETER(lParam);
+    UNREFERENCED_PARAMETER(wParam);
+    UNREFERENCED_PARAMETER(uMsg);
+    UNREFERENCED_PARAMETER(hwnd);
 
     LoadString(hApplet, IDS_CPLNAME, Caption, sizeof(Caption) / sizeof(TCHAR));
 
@@ -117,6 +122,7 @@
 DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved)
 {
     INITCOMMONCONTROLSEX InitControls;
+    UNREFERENCED_PARAMETER(lpvReserved);
     switch(dwReason)
     {
         case DLL_PROCESS_ATTACH:

Modified: trunk/reactos/dll/cpl/intl_new/locale.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl_new/locale.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/intl_new/locale.c (original)
+++ trunk/reactos/dll/cpl/intl_new/locale.c Mon Jul 10 01:10:40 2006
@@ -34,7 +34,7 @@
     int index;
 
     GetGeoInfo(gId, GEO_FRIENDLYNAME, loc, MAX_FMT_SIZE, LANG_SYSTEM_DEFAULT);
-    index = SendMessageW(hGeoList,
+    index = (int) SendMessageW(hGeoList,
                          CB_ADDSTRING,
                          0,
                          (LPARAM)loc);
@@ -69,7 +69,7 @@
 
     SendMessageW(hGeoList,
                  CB_SELECTSTRING,
-                 -1,
+                 (WPARAM) -1,
                  (LPARAM)loc);
 }
 
@@ -85,14 +85,14 @@
     lcid = wcstoul(lpLocale, NULL, 16);
 
     GetLocaleInfo(lcid, LOCALE_SLANGUAGE, lang, sizeof(lang));
-    index = SendMessageW(hLocaleList,
+    index = (int) SendMessageW(hLocaleList,
                          CB_ADDSTRING,
                          0,
                          (LPARAM)lang);
 
     SendMessageW(hLocaleList,
                  CB_SETITEMDATA,
-                 index,
+                 (WPARAM) index,
                  (LPARAM)lcid);
 
     return TRUE;
@@ -117,7 +117,7 @@
 
     SendMessageW(hLocaleList,
                  CB_SELECTSTRING,
-                 -1,
+                 (WPARAM) -1,
                  (LPARAM)langSel);
 }
 
@@ -208,7 +208,7 @@
     }
 
     wsprintf(Value, L"%04X", (DWORD)LcidLocale);
-    ValueSize = (wcslen(Value) + 1) * sizeof(WCHAR);
+    ValueSize = (DWORD) (wcslen(Value) + 1) * sizeof(WCHAR);
 
     RegSetValueExW(LocaleKey, L"Locale", 0, REG_SZ, (BYTE *)Value, ValueSize);
     RegCloseKey(LocaleKey);
@@ -246,9 +246,9 @@
                     if (HIWORD(wParam) == CBN_SELCHANGE ||
                         HIWORD(wParam) == CBN_EDITCHANGE)
                     {
-                        CurrSel = SendMessageW((HWND)lParam, CB_GETCURSEL,
+                        CurrSel = (int) SendMessageW((HWND)lParam, CB_GETCURSEL,
                             0, 0);
-                        NewLCID = SendMessageW((HWND)lParam, CB_GETITEMDATA,
+                        NewLCID = (LCID) SendMessageW((HWND)lParam, CB_GETITEMDATA,
                             CurrSel, 0);
                         UpdateLocaleSample(hwndDlg,
                                            MAKELCID(NewLCID, SORT_DEFAULT));
@@ -273,20 +273,20 @@
             if (lpnm->code == (UINT)PSN_APPLY)
             {
                 /* Set locale */
-                CurrSel = SendMessageW(GetDlgItem(hwndDlg, IDC_SETREG_COMBO),
+                CurrSel = (int) SendMessageW(GetDlgItem(hwndDlg, IDC_SETREG_COMBO),
                     CB_GETCURSEL, 0, 0);
-                NewLCID = SendMessageW(GetDlgItem(hwndDlg, IDC_SETREG_COMBO),
+                NewLCID = (LCID) SendMessageW(GetDlgItem(hwndDlg, IDC_SETREG_COMBO),
                     CB_GETITEMDATA, CurrSel, 0);
                 if (NewLCID == (LCID)CB_ERR) break;
 
                 SetNewLocale(MAKELCID(NewLCID, SORT_DEFAULT));
 
                 /* Set geo location */
-                CurrSel = SendMessageW(GetDlgItem(hwndDlg, IDC_LOCATION_COMBO),
+                CurrSel = (int) SendMessageW(GetDlgItem(hwndDlg, IDC_LOCATION_COMBO),
                                CB_GETCURSEL,
                                0,
                                0);
-                NewLocation = SendMessageW(GetDlgItem(hwndDlg, IDC_LOCATION_COMBO),
+                NewLocation = (GEOID) SendMessageW(GetDlgItem(hwndDlg, IDC_LOCATION_COMBO),
                               CB_GETITEMDATA,
                               CurrSel,
                               0);

Modified: trunk/reactos/dll/cpl/main/keyboard.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/main/keyboard.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/main/keyboard.c (original)
+++ trunk/reactos/dll/cpl/main/keyboard.c Mon Jul 10 01:10:40 2006
@@ -41,6 +41,9 @@
 	      IN WPARAM wParam,
 	      IN LPARAM lParam)
 {
+    UNREFERENCED_PARAMETER(lParam);
+    UNREFERENCED_PARAMETER(wParam);
+    UNREFERENCED_PARAMETER(hwndDlg);
     switch(uMsg)
     {
         case WM_INITDIALOG:
@@ -60,6 +63,9 @@
 {
     GUID Guids[1];
     Guids[0] = GUID_DEVCLASS_KEYBOARD;
+
+    UNREFERENCED_PARAMETER(lParam);
+    UNREFERENCED_PARAMETER(wParam);
 
     switch(uMsg)
     {
@@ -87,6 +93,11 @@
   PROPSHEETHEADER psh;
   TCHAR Caption[256];
 
+  UNREFERENCED_PARAMETER(lParam);
+  UNREFERENCED_PARAMETER(wParam);
+  UNREFERENCED_PARAMETER(uMsg);
+  UNREFERENCED_PARAMETER(hwnd);
+
   LoadString(hApplet, IDS_CPLNAME_2, Caption, sizeof(Caption) / sizeof(TCHAR));
 
   ZeroMemory(&psh, sizeof(PROPSHEETHEADER));

Modified: trunk/reactos/dll/cpl/main/main.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/main/main.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/main/main.c (original)
+++ trunk/reactos/dll/cpl/main/main.c Mon Jul 10 01:10:40 2006
@@ -106,6 +106,8 @@
 	LPVOID lpReserved)
 {
   INITCOMMONCONTROLSEX InitControls;
+  UNREFERENCED_PARAMETER(lpReserved);
+
   switch(dwReason)
   {
     case DLL_PROCESS_ATTACH:

Modified: trunk/reactos/dll/cpl/main/mouse.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/main/mouse.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/main/mouse.c (original)
+++ trunk/reactos/dll/cpl/main/mouse.c Mon Jul 10 01:10:40 2006
@@ -106,6 +106,9 @@
     GUID Guids[1];
     Guids[0] = GUID_DEVCLASS_MOUSE;
 
+    UNREFERENCED_PARAMETER(lParam);
+    UNREFERENCED_PARAMETER(wParam);
+
     switch(uMsg)
     {
         case WM_INITDIALOG:
@@ -166,6 +169,8 @@
 {
     HWND hDlgCtrl;
     int pos;
+    UNREFERENCED_PARAMETER(lParam);
+
     switch(uMsg)
     {
         case WM_INITDIALOG:
@@ -181,7 +186,7 @@
             if (LOWORD(wParam) == IDOK)
             {
                 hDlgCtrl = GetDlgItem(hwndDlg, IDC_SLIDER_CLICK_LOCK);
-                g_ClickLockTime = (SendMessage(hDlgCtrl, TBM_GETPOS, 0, 0) * 200) + 200;
+                g_ClickLockTime = (DWORD) (SendMessage(hDlgCtrl, TBM_GETPOS, 0, 0) * 200) + 200;
                 EndDialog(hwndDlg, TRUE);
             }
             else if (LOWORD(wParam) == IDCANCEL)
@@ -610,6 +615,7 @@
 	          IN LPARAM lParam)
 {
     HWND hDlgCtrl;
+    UNREFERENCED_PARAMETER(lParam);
 
     switch(uMsg)
     {
@@ -975,7 +981,7 @@
                     {
                         SendMessage((HWND)lParam, BM_SETCHECK, (WPARAM)BST_CHECKED, (LPARAM)0);
                         EnableWindow(hDlgCtrl, TRUE);
-                        g_MouseTrails = SendMessage(hDlgCtrl, TBM_GETPOS, 0, 0) + 2;
+                        g_MouseTrails = (ULONG) SendMessage(hDlgCtrl, TBM_GETPOS, 0, 0) + 2;
                     }
                     break;					
                 }
@@ -1028,7 +1034,7 @@
                 else 
                     lResult = 0;
 
-                SystemParametersInfo(SPI_SETMOUSETRAILS, lResult, 0, SPIF_SENDCHANGE);
+                SystemParametersInfo(SPI_SETMOUSETRAILS, (UINT) lResult, 0, SPIF_SENDCHANGE);
 
                 //FIXME
                 //pointer precision
@@ -1167,6 +1173,11 @@
     PROPSHEETPAGE psp[5];
     PROPSHEETHEADER psh;
     TCHAR Caption[256];
+
+    UNREFERENCED_PARAMETER(lParam1);
+    UNREFERENCED_PARAMETER(lParam2);
+    UNREFERENCED_PARAMETER(uMsg);
+    UNREFERENCED_PARAMETER(hwnd);
 
     LoadString(hApplet, IDS_CPLNAME_1, Caption, sizeof(Caption) / sizeof(TCHAR));
 

Modified: trunk/reactos/dll/cpl/mmsys/mmsys.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/mmsys.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/mmsys.c (original)
+++ trunk/reactos/dll/cpl/mmsys/mmsys.c Mon Jul 10 01:10:40 2006
@@ -67,14 +67,15 @@
 	        WPARAM wParam,
 	        LPARAM lParam)
 {
+    UNREFERENCED_PARAMETER(lParam);
+    UNREFERENCED_PARAMETER(wParam);
     switch(uMsg)
     {
         case WM_INITDIALOG:
         {
-            GUID Guids[] = {
-                GUID_DEVCLASS_CDROM,
-                GUID_DEVCLASS_MEDIA,
-            };
+            GUID Guids[2];
+            Guids[0] = GUID_DEVCLASS_CDROM;
+            Guids[1] = GUID_DEVCLASS_MEDIA;
 
             /* create the hardware page */
             DeviceCreateHardwarePageEx(hwndDlg,
@@ -97,6 +98,11 @@
     PROPSHEETPAGE psp[1];
     PROPSHEETHEADER psh = {0};
     TCHAR Caption[256];
+
+    UNREFERENCED_PARAMETER(lParam);
+    UNREFERENCED_PARAMETER(wParam);
+    UNREFERENCED_PARAMETER(uMsg);
+    UNREFERENCED_PARAMETER(hwnd);
 
     LoadString(hApplet,
                IDS_CPLNAME,
@@ -182,6 +188,7 @@
 	DWORD dwReason,
 	LPVOID lpReserved)
 {
+    UNREFERENCED_PARAMETER(lpReserved);
     switch(dwReason)
     {
         case DLL_PROCESS_ATTACH:

Modified: trunk/reactos/dll/cpl/ncpa/ncpa.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/ncpa/ncpa.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/ncpa/ncpa.c (original)
+++ trunk/reactos/dll/cpl/ncpa/ncpa.c Mon Jul 10 01:10:40 2006
@@ -169,6 +169,9 @@
 	TCHAR tpszNotifyObjectCLSID[MAX_PATH];
 	TCHAR *tpszSubKeyCopy;
 	int nIndex;
+
+	UNREFERENCED_PARAMETER(hBaseKey);
+
 //	CLSID CLSID_NotifObj;
 //	IUnknown *pUnk = NULL;
 //	INetCfgComponentControl *pNetCfg;
@@ -224,7 +227,7 @@
 	}
 
 	RegCloseKey(hKey);
-	nIndex = SendDlgItemMessage(hwndDlg,IDC_COMPONENTSLIST,LB_ADDSTRING,0,(LPARAM)tpszDescription);
+	nIndex = (int) SendDlgItemMessage(hwndDlg,IDC_COMPONENTSLIST,LB_ADDSTRING,0,(LPARAM)tpszDescription);
 	tpszSubKeyCopy = _tcsdup(tpszSubKey);
 	SendDlgItemMessage(hwndDlg,IDC_COMPONENTSLIST,LB_SETITEMDATA,nIndex,(LPARAM)tpszSubKeyCopy);
 }
@@ -309,7 +312,7 @@
 				HKEY hNDIKey;
 				DWORD dwType,dwSize;
 				HWND hListBox = GetDlgItem(hwndDlg,IDC_COMPONENTSLIST);
-				int iListBoxIndex = SendMessage(hListBox,LB_GETCURSEL,0,0);
+				int iListBoxIndex = (int) SendMessage(hListBox,LB_GETCURSEL,0,0);
 				if(iListBoxIndex != LB_ERR) 
 					tpszSubKey = (TCHAR*)SendMessage(hListBox,LB_GETITEMDATA,iListBoxIndex,0);
 				if(!tpszSubKey)
@@ -572,7 +575,7 @@
 	// How is this done properly ?
 	
 
-	nIndex = SendDlgItemMessage(hwndDlg,IDC_NETCARDLIST,LB_ADDSTRING,0,(LPARAM)tpszDisplayName);
+	nIndex = (int) SendDlgItemMessage(hwndDlg,IDC_NETCARDLIST,LB_ADDSTRING,0,(LPARAM)tpszDisplayName);
 	SendDlgItemMessage(hwndDlg,IDC_NETCARDLIST,LB_SETITEMDATA,nIndex,(LPARAM)ptpszCfgInstanceID);
 	RegCloseKey(hKey);
 }
@@ -629,14 +632,14 @@
 		{
 		case IDC_NETCARDLIST:
 			if(HIWORD(wParam)==LBN_DBLCLK) {
-				nIndex = SendDlgItemMessage(hwndDlg,IDC_NETCARDLIST,LB_GETCURSEL,0,0);
+				nIndex = (int) SendDlgItemMessage(hwndDlg,IDC_NETCARDLIST,LB_GETCURSEL,0,0);
 				if(nIndex!=-1)
 					DisplayNICStatus(hwndDlg,(TCHAR*)SendDlgItemMessage(hwndDlg,IDC_NETCARDLIST,LB_GETITEMDATA,nIndex,0));
 			}
 			break;
 
 		case IDC_PROPERTIES:
-			nIndex = SendDlgItemMessage(hwndDlg,IDC_NETCARDLIST,LB_GETCURSEL,0,0);
+			nIndex = (int) SendDlgItemMessage(hwndDlg,IDC_NETCARDLIST,LB_GETCURSEL,0,0);
 			if(nIndex!=-1)
 				DisplayNICStatus(hwndDlg,(TCHAR*)SendDlgItemMessage(hwndDlg,IDC_NETCARDLIST,LB_GETITEMDATA,nIndex,0));
 			break;
@@ -679,6 +682,7 @@
 LONG CALLBACK
 CPlApplet(HWND hwndCPl, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
 {
+	UNREFERENCED_PARAMETER(hwndCPl);
 	switch (uMsg)
 	{
 	case CPL_INIT:
@@ -714,6 +718,8 @@
 
 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved)
 {
+	UNREFERENCED_PARAMETER(lpvReserved);
+
 	switch(dwReason)
 	{
 	case DLL_PROCESS_ATTACH:

Modified: trunk/reactos/dll/cpl/powercfg/alarms.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/alarms.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/alarms.c (original)
+++ trunk/reactos/dll/cpl/powercfg/alarms.c Mon Jul 10 01:10:40 2006
@@ -31,8 +31,8 @@
   LPARAM lParam
 )
 {
-  UNREFERENCED_PARAMETER(lParam)
-  UNREFERENCED_PARAMETER(wParam)
+  UNREFERENCED_PARAMETER(lParam);
+  UNREFERENCED_PARAMETER(wParam);
   switch(uMsg)
   {
     case WM_INITDIALOG:

Modified: trunk/reactos/dll/cpl/powercfg/powercfg.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/powercfg.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/powercfg.c (original)
+++ trunk/reactos/dll/cpl/powercfg/powercfg.c Mon Jul 10 01:10:40 2006
@@ -55,7 +55,7 @@
 	LPARAM lParam
 )
 {
-  UNREFERENCED_PARAMETER(hwndDlg)
+  UNREFERENCED_PARAMETER(hwndDlg);
   switch(uMsg)
   {
     case PSCB_BUTTONPRESSED:
@@ -90,10 +90,10 @@
   SYSTEM_POWER_CAPABILITIES spc;
   INT i=0;
  
-  UNREFERENCED_PARAMETER(hwnd)
-  UNREFERENCED_PARAMETER(uMsg)
-  UNREFERENCED_PARAMETER(wParam)
-  UNREFERENCED_PARAMETER(lParam)
+  UNREFERENCED_PARAMETER(hwnd);
+  UNREFERENCED_PARAMETER(uMsg);
+  UNREFERENCED_PARAMETER(wParam);
+  UNREFERENCED_PARAMETER(lParam);
 
   memset(Caption, 0x0, sizeof(Caption));
   LoadString(hApplet, IDS_CPLNAME_1, Caption, sizeof(Caption) / sizeof(TCHAR));
@@ -171,7 +171,7 @@
 	DWORD     dwReason,
 	LPVOID    lpvReserved)
 {
-  UNREFERENCED_PARAMETER(lpvReserved)
+  UNREFERENCED_PARAMETER(lpvReserved);
   switch(dwReason)
   {
     case DLL_PROCESS_ATTACH:

Modified: trunk/reactos/dll/cpl/powercfg/powershemes.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/powershemes.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/powershemes.c (original)
+++ trunk/reactos/dll/cpl/powercfg/powershemes.c Mon Jul 10 01:10:40 2006
@@ -225,10 +225,10 @@
 {
 	int index;
 
-	UNREFERENCED_PARAMETER(lParam)
-	UNREFERENCED_PARAMETER(sDesc)
-	UNREFERENCED_PARAMETER(dwDesc)
-	UNREFERENCED_PARAMETER(dwName)
+	UNREFERENCED_PARAMETER(lParam);
+	UNREFERENCED_PARAMETER(sDesc);
+	UNREFERENCED_PARAMETER(dwDesc);
+	UNREFERENCED_PARAMETER(dwName);
 
 	if (ValidatePowerPolicies(0,pp))
 	{

Modified: trunk/reactos/dll/cpl/sysdm/advanced.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/advanced.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/advanced.c (original)
+++ trunk/reactos/dll/cpl/sysdm/advanced.c Mon Jul 10 01:10:40 2006
@@ -40,7 +40,7 @@
   WPARAM wParam,
   LPARAM lParam)
 {
-  UNREFERENCED_PARAMETER(lParam)
+  UNREFERENCED_PARAMETER(lParam);
   switch (uMsg)
   {
     case WM_INITDIALOG:

Modified: trunk/reactos/dll/cpl/sysdm/computer.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/computer.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/computer.c (original)
+++ trunk/reactos/dll/cpl/sysdm/computer.c Mon Jul 10 01:10:40 2006
@@ -40,6 +40,11 @@
   LPARAM lParam
 )
 {
+  LPWKSTA_INFO_101 wki;
+
+  UNREFERENCED_PARAMETER(lParam);
+  UNREFERENCED_PARAMETER(wParam);
+
   switch(uMsg)
   {
     case WM_INITDIALOG:
@@ -51,7 +56,6 @@
       {
           SendDlgItemMessage(hwndDlg,IDC_COMPUTERNAME,WM_SETTEXT,0,(LPARAM)ComputerName);
       }
-      LPWKSTA_INFO_101 wki;
       if (NetWkstaGetInfo(NULL,101,(LPBYTE*)&wki) == NERR_Success)
       {
         SendDlgItemMessage(hwndDlg,IDC_WORKGROUPDOMAIN_NAME,WM_SETTEXT,0,(LPARAM)wki->wki101_langroup);

Modified: trunk/reactos/dll/cpl/sysdm/general.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/general.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/general.c (original)
+++ trunk/reactos/dll/cpl/sysdm/general.c Mon Jul 10 01:10:40 2006
@@ -98,8 +98,8 @@
   LPARAM lParam
 )
 {
-  UNREFERENCED_PARAMETER(lParam)
-  UNREFERENCED_PARAMETER(wParam)
+  UNREFERENCED_PARAMETER(lParam);
+  UNREFERENCED_PARAMETER(wParam);
 
   switch(uMsg)
   {

Modified: trunk/reactos/dll/cpl/sysdm/hardware.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/hardware.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/hardware.c (original)
+++ trunk/reactos/dll/cpl/sysdm/hardware.c Mon Jul 10 01:10:40 2006
@@ -63,7 +63,7 @@
   LPARAM lParam
 )
 {
-  UNREFERENCED_PARAMETER(lParam)
+  UNREFERENCED_PARAMETER(lParam);
   switch(uMsg)
   {
     case WM_INITDIALOG:

Modified: trunk/reactos/dll/cpl/sysdm/sysdm.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/sysdm.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/sysdm.c (original)
+++ trunk/reactos/dll/cpl/sysdm/sysdm.c Mon Jul 10 01:10:40 2006
@@ -64,7 +64,7 @@
 	LPARAM lParam
 )
 {
-  UNREFERENCED_PARAMETER(hwndDlg)
+  UNREFERENCED_PARAMETER(hwndDlg);
   switch(uMsg)
   {
     case PSCB_BUTTONPRESSED:
@@ -130,7 +130,7 @@
 	LPARAM lParam2)
 {
   int i = (int)lParam1;
-  UNREFERENCED_PARAMETER(hwndCPl)
+  UNREFERENCED_PARAMETER(hwndCPl);
 
   switch(uMsg)
   {
@@ -167,7 +167,7 @@
 	DWORD     dwReason,
 	LPVOID    lpvReserved)
 {
-  UNREFERENCED_PARAMETER(lpvReserved)
+  UNREFERENCED_PARAMETER(lpvReserved);
   switch(dwReason)
   {
     case DLL_PROCESS_ATTACH:

Modified: trunk/reactos/dll/cpl/sysdm/userprofile.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/userprofile.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/userprofile.c (original)
+++ trunk/reactos/dll/cpl/sysdm/userprofile.c Mon Jul 10 01:10:40 2006
@@ -39,8 +39,9 @@
   LPARAM lParam
 )
 {
-  UNREFERENCED_PARAMETER(lParam)
-  UNREFERENCED_PARAMETER(wParam)
+  UNREFERENCED_PARAMETER(lParam);
+  UNREFERENCED_PARAMETER(wParam);
+  UNREFERENCED_PARAMETER(hwndDlg);
   switch(uMsg)
   {
     case WM_INITDIALOG:

Modified: trunk/reactos/dll/cpl/sysdm/virtmem.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/virtmem.c?rev=22979&r1=22978&r2=22979&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/virtmem.c (original)
+++ trunk/reactos/dll/cpl/sysdm/virtmem.c Mon Jul 10 01:10:40 2006
@@ -14,7 +14,7 @@
 		   WPARAM wParam,
 		   LPARAM lParam)
 {
-  UNREFERENCED_PARAMETER(lParam)
+  UNREFERENCED_PARAMETER(lParam);
   switch (uMsg)
   {
     case WM_INITDIALOG:




More information about the Ros-diffs mailing list