Author: weiden
Date: Sun Jul 29 00:02:37 2007
New Revision: 27972
URL:
http://svn.reactos.org/svn/reactos?rev=27972&view=rev
Log:
More function prototype fixes
Modified:
trunk/reactos/dll/cpl/hdwwiz/hdwwiz.c
trunk/reactos/dll/cpl/intl/intl.c
trunk/reactos/dll/cpl/intl_new/intl.c
trunk/reactos/dll/cpl/main/keyboard.c
trunk/reactos/dll/cpl/main/main.h
trunk/reactos/dll/cpl/main/mouse.c
trunk/reactos/dll/cpl/mmsys/mmsys.c
trunk/reactos/dll/cpl/mmsys/mmsys.h
trunk/reactos/dll/cpl/ncpa/ncpa.c
trunk/reactos/dll/cpl/ncpa/ncpa.h
trunk/reactos/dll/cpl/powercfg/powercfg.c
trunk/reactos/dll/cpl/timedate/timedate.c
trunk/reactos/dll/cpl/usrmgr/usrmgr.c
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 Sun Jul 29 00:02:37 2007
@@ -33,7 +33,7 @@
#include "resource.h"
#include "hdwwiz.h"
-LONG APIENTRY Applet(HWND hwnd, UINT uMsg, LONG wParam, LONG lParam);
+static LONG APIENTRY Applet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);
HINSTANCE hApplet = 0;
/* Applets */
@@ -44,8 +44,8 @@
typedef BOOL (WINAPI *PINSTALL_NEW_DEVICE)(HWND, LPGUID, PDWORD);
-LONG APIENTRY
-Applet(HWND hwnd, UINT uMsg, LONG wParam, LONG lParam)
+static LONG APIENTRY
+Applet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
{
HMODULE hNewDev = NULL;
PINSTALL_NEW_DEVICE InstallNewDevice;
Modified: trunk/reactos/dll/cpl/intl/intl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl/intl.c?rev=27…
==============================================================================
--- trunk/reactos/dll/cpl/intl/intl.c (original)
+++ trunk/reactos/dll/cpl/intl/intl.c Sun Jul 29 00:02:37 2007
@@ -35,8 +35,8 @@
#define NUM_APPLETS (1)
-LONG APIENTRY
-Applet(HWND hwnd, UINT uMsg, LONG wParam, LONG lParam);
+static LONG APIENTRY
+Applet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);
HINSTANCE hApplet = 0;
@@ -126,8 +126,8 @@
return 0;
}
-LONG APIENTRY
-Applet(HWND hwnd, UINT uMsg, LONG wParam, LONG lParam)
+static LONG APIENTRY
+Applet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
{
PROPSHEETPAGE psp[6];
PROPSHEETHEADER psh;
Modified: trunk/reactos/dll/cpl/intl_new/intl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl_new/intl.c?re…
==============================================================================
--- trunk/reactos/dll/cpl/intl_new/intl.c (original)
+++ trunk/reactos/dll/cpl/intl_new/intl.c Sun Jul 29 00:02:37 2007
@@ -21,7 +21,7 @@
#define NUM_APPLETS (1)
#define NUM_SHEETS 3
-LONG APIENTRY Applet(HWND hwnd, UINT uMsg, LONG wParam, LONG lParam);
+static LONG APIENTRY Applet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);
HINSTANCE hApplet;
@@ -45,9 +45,9 @@
}
/* Create applets */
-LONG
+static LONG
APIENTRY
-Applet(HWND hwnd, UINT uMsg, LONG wParam, LONG lParam)
+Applet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
{
PROPSHEETPAGE PsPage[NUM_SHEETS];
PROPSHEETHEADER psh;
Modified: trunk/reactos/dll/cpl/main/keyboard.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/main/keyboard.c?re…
==============================================================================
--- trunk/reactos/dll/cpl/main/keyboard.c (original)
+++ trunk/reactos/dll/cpl/main/keyboard.c Sun Jul 29 00:02:37 2007
@@ -294,7 +294,7 @@
LONG APIENTRY
-KeyboardApplet(HWND hwnd, UINT uMsg, LONG wParam, LONG lParam)
+KeyboardApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
{
PROPSHEETPAGE psp[2];
PROPSHEETHEADER psh;
Modified: trunk/reactos/dll/cpl/main/main.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/main/main.h?rev=27…
==============================================================================
--- trunk/reactos/dll/cpl/main/main.h (original)
+++ trunk/reactos/dll/cpl/main/main.h Sun Jul 29 00:02:37 2007
@@ -30,7 +30,7 @@
/* keyboard.c */
LONG APIENTRY
-KeyboardApplet(HWND hwnd, UINT uMsg, LONG wParam, LONG lParam);
+KeyboardApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);
/* main.c */
@@ -43,7 +43,7 @@
/* mouse.c */
LONG APIENTRY
-MouseApplet(HWND hwnd, UINT uMsg, LONG wParam, LONG lParam);
+MouseApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);
#endif /* __CPL_MAIN_H */
Modified: trunk/reactos/dll/cpl/main/mouse.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/main/mouse.c?rev=2…
==============================================================================
--- trunk/reactos/dll/cpl/main/mouse.c (original)
+++ trunk/reactos/dll/cpl/main/mouse.c Sun Jul 29 00:02:37 2007
@@ -1796,7 +1796,7 @@
LONG APIENTRY
-MouseApplet(HWND hwnd, UINT uMsg, LONG lParam1, LONG lParam2)
+MouseApplet(HWND hwnd, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
{
PROPSHEETPAGE psp[5];
PROPSHEETHEADER psh;
Modified: trunk/reactos/dll/cpl/mmsys/mmsys.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/mmsys.c?rev=…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/mmsys.c (original)
+++ trunk/reactos/dll/cpl/mmsys/mmsys.c Sun Jul 29 00:02:37 2007
@@ -92,8 +92,8 @@
LONG APIENTRY
MmSysApplet(HWND hwnd,
UINT uMsg,
- LONG wParam,
- LONG lParam)
+ LPARAM wParam,
+ LPARAM lParam)
{
PROPSHEETPAGE psp[1];
PROPSHEETHEADER psh = {0};
Modified: trunk/reactos/dll/cpl/mmsys/mmsys.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/mmsys.h?rev=…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/mmsys.h (original)
+++ trunk/reactos/dll/cpl/mmsys/mmsys.h Sun Jul 29 00:02:37 2007
@@ -24,8 +24,8 @@
LONG APIENTRY
MmSysApplet(HWND hwnd,
UINT uMsg,
- LONG wParam,
- LONG lParam);
+ LPARAM wParam,
+ LPARAM lParam);
#endif /* __CPL_MMSYS_H */
Modified: trunk/reactos/dll/cpl/ncpa/ncpa.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/ncpa/ncpa.c?rev=27…
==============================================================================
--- trunk/reactos/dll/cpl/ncpa/ncpa.c (original)
+++ trunk/reactos/dll/cpl/ncpa/ncpa.c Sun Jul 29 00:02:37 2007
@@ -336,9 +336,9 @@
IP_ADAPTER_INFO Adapters[64];
IP_ADAPTER_INFO *pAdapter;
TCHAR *tpszCfgInstanceID;
- DWORD dwSize = sizeof(Adapters);
+ ULONG ulSize = sizeof(Adapters);
memset(&Adapters,0x00,sizeof(Adapters));
- if(GetAdaptersInfo(Adapters,&dwSize)!=ERROR_SUCCESS)
+ if(GetAdaptersInfo(Adapters,&ulSize)!=ERROR_SUCCESS)
break;;
pAdapter = Adapters;
tpszCfgInstanceID = (TCHAR*)pPage->lParam;
Modified: trunk/reactos/dll/cpl/ncpa/ncpa.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/ncpa/ncpa.h?rev=27…
==============================================================================
--- trunk/reactos/dll/cpl/ncpa/ncpa.h (original)
+++ trunk/reactos/dll/cpl/ncpa/ncpa.h Sun Jul 29 00:02:37 2007
@@ -13,7 +13,7 @@
extern HINSTANCE hApplet;
-extern DWORD DbgPrint(PCCH Fmt, ...);
+extern ULONG DbgPrint(PCCH Fmt, ...);
#endif // __NCPA_H
Modified: trunk/reactos/dll/cpl/powercfg/powercfg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/powercfg.…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/powercfg.c (original)
+++ trunk/reactos/dll/cpl/powercfg/powercfg.c Sun Jul 29 00:02:37 2007
@@ -18,7 +18,7 @@
#define NUM_APPLETS (1)
-LONG APIENTRY Applet1(HWND hwnd, UINT uMsg, LONG wParam, LONG lParam);
+static LONG APIENTRY Applet1(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);
INT_PTR CALLBACK powershemesProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
INT_PTR CALLBACK alarmsProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
INT_PTR CALLBACK advancedProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
@@ -80,8 +80,8 @@
}
/* First Applet */
-LONG APIENTRY
-Applet1(HWND hwnd, UINT uMsg, LONG wParam, LONG lParam)
+static LONG APIENTRY
+Applet1(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
{
PROPSHEETPAGE psp[5];
PROPSHEETHEADER psh;
Modified: trunk/reactos/dll/cpl/timedate/timedate.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/timedate/timedate.…
==============================================================================
--- trunk/reactos/dll/cpl/timedate/timedate.c (original)
+++ trunk/reactos/dll/cpl/timedate/timedate.c Sun Jul 29 00:02:37 2007
@@ -12,7 +12,7 @@
#define NUM_APPLETS 1
-LONG APIENTRY Applet(HWND hwnd, UINT uMsg, LONG wParam, LONG lParam);
+static LONG APIENTRY Applet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);
HINSTANCE hApplet;
@@ -68,8 +68,8 @@
}
-LONG APIENTRY
-Applet(HWND hwnd, UINT uMsg, LONG wParam, LONG lParam)
+static LONG APIENTRY
+Applet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
{
PROPSHEETHEADER psh;
PROPSHEETPAGE psp[3];
Modified: trunk/reactos/dll/cpl/usrmgr/usrmgr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/usrmgr/usrmgr.c?re…
==============================================================================
--- trunk/reactos/dll/cpl/usrmgr/usrmgr.c (original)
+++ trunk/reactos/dll/cpl/usrmgr/usrmgr.c Sun Jul 29 00:02:37 2007
@@ -12,7 +12,7 @@
#define NUM_APPLETS 1
-LONG APIENTRY UsrmgrApplet(HWND hwnd, UINT uMsg, LONG wParam, LONG lParam);
+static LONG APIENTRY UsrmgrApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);
HINSTANCE hApplet = 0;
@@ -41,8 +41,8 @@
/* Display Applet */
-LONG APIENTRY
-UsrmgrApplet(HWND hwnd, UINT uMsg, LONG wParam, LONG lParam)
+static LONG APIENTRY
+UsrmgrApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
{
PROPSHEETPAGE psp[3];
PROPSHEETHEADER psh;