use INT_PTR as return type for dialog callbacks as documented in favor of portability
authorThomas Bluemel <thomas@reactsoft.com>
Mon, 11 Oct 2004 21:08:06 +0000 (21:08 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Mon, 11 Oct 2004 21:08:06 +0000 (21:08 +0000)
svn path=/trunk/; revision=11276

54 files changed:
reactos/apps/tests/capclock/capclock.c
reactos/apps/tests/dirdlg/dirdlg.c
reactos/apps/utils/infinst/.cvsignore [new file with mode: 0644]
reactos/lib/cpl/access/access.c
reactos/lib/cpl/access/display.c
reactos/lib/cpl/access/general.c
reactos/lib/cpl/access/keyboard.c
reactos/lib/cpl/access/mouse.c
reactos/lib/cpl/access/sound.c
reactos/lib/cpl/appwiz/appwiz.c
reactos/lib/cpl/cplsample/cplsample.c
reactos/lib/cpl/desk/desk.c
reactos/lib/cpl/ncpa/ncpa.c
reactos/lib/cpl/ncpa/tcpip_properties.c
reactos/lib/cpl/sysdm/advanced.c
reactos/lib/cpl/sysdm/computer.c
reactos/lib/cpl/sysdm/environment.c
reactos/lib/cpl/sysdm/general.c
reactos/lib/cpl/sysdm/hardware.c
reactos/lib/cpl/sysdm/sysdm.h
reactos/lib/cpl/sysdm/userprofile.c
reactos/lib/devmgr/devmgr.c
reactos/lib/devmgr/devmgr.h
reactos/lib/msgina/msgina.c
reactos/lib/syssetup/wizard.c
reactos/subsys/system/explorer/shell/filechild.cpp
reactos/subsys/system/explorer/shell/filechild.h
reactos/subsys/system/regedit/childwnd.c
reactos/subsys/system/regedit/framewnd.c
reactos/subsys/system/regedit/hexedit.c
reactos/subsys/system/regedit/main.h
reactos/subsys/system/taskmgr/about.c
reactos/subsys/system/taskmgr/affinity.c
reactos/subsys/system/taskmgr/applpage.c
reactos/subsys/system/taskmgr/applpage.h
reactos/subsys/system/taskmgr/column.c
reactos/subsys/system/taskmgr/dbgchnl.c
reactos/subsys/system/taskmgr/graph.c
reactos/subsys/system/taskmgr/graph.h
reactos/subsys/system/taskmgr/graphctl.c
reactos/subsys/system/taskmgr/graphctl.h
reactos/subsys/system/taskmgr/perfpage.c
reactos/subsys/system/taskmgr/perfpage.h
reactos/subsys/system/taskmgr/proclist.c
reactos/subsys/system/taskmgr/proclist.h
reactos/subsys/system/taskmgr/procpage.c
reactos/subsys/system/taskmgr/procpage.h
reactos/subsys/system/taskmgr/taskmgr.c
reactos/subsys/system/taskmgr/taskmgr.h
reactos/subsys/system/vmwinst/vmwinst.c
reactos/subsys/system/welcome/welcome.c
reactos/subsys/system/winefile/winefile.c
reactos/subsys/system/winlogon/winlogon.c
reactos/subsys/system/winlogon/wlx.c

index 077ce09..9d0d1bf 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: capclock.c,v 1.3 2003/11/14 17:13:16 weiden Exp $
+/* $Id: capclock.c,v 1.4 2004/10/11 21:08:03 weiden Exp $
  *
  * DESCRIPTION: Simple Win32 Caption Clock
  * PROJECT    : ReactOS (test applications)
@@ -27,7 +27,7 @@ INT STDCALL WinMain (HINSTANCE hinst, HINSTANCE hinstPrev, LPSTR lpCmdLine, INT
        wc.hbrBackground  = (HBRUSH) (COLOR_WINDOW + 1);
        wc.lpszClassName  = "CapClock";
        RegisterClass (& wc);
-       return DialogBox(hinst, MAKEINTRESOURCE(2), NULL, (DLGPROC) DialogFunc);
+       return DialogBox(hinst, MAKEINTRESOURCE(2), NULL, DialogFunc);
 
 }
 static int InitializeApp (HWND hDlg,WPARAM wParam, LPARAM lParam)
@@ -36,7 +36,7 @@ static int InitializeApp (HWND hDlg,WPARAM wParam, LPARAM lParam)
        TimerProc (hDlg,0,0,0);
        return 1;
 }
-static BOOL CALLBACK DialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
+static INT_PTR CALLBACK DialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
 {
        switch (msg)
        {
index 7ced633..fdcb074 100644 (file)
@@ -6,7 +6,7 @@
 
 static char selected[MAX_PATH + 1];
 
-BOOL 
+INT_PTR
 CALLBACK 
 DlgMainProc(
   HWND hwndDlg,
diff --git a/reactos/apps/utils/infinst/.cvsignore b/reactos/apps/utils/infinst/.cvsignore
new file mode 100644 (file)
index 0000000..285568f
--- /dev/null
@@ -0,0 +1,6 @@
+*.o\r
+*.d\r
+*.exe\r
+*.coff\r
+*.sym\r
+*.map\r
index 2dc5d0c..83acd5f 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: access.c,v 1.2 2004/07/10 22:06:39 kuehng Exp $
+/* $Id: access.c,v 1.3 2004/10/11 21:08:03 weiden Exp $
  *
  * PROJECT:         ReactOS System Control Panel
  * FILE:            lib/cpl/system/sysdm.c
 #define NUM_APPLETS    (1)
 
 LONG CALLBACK SystemApplet(VOID);
-BOOL CALLBACK DisplayPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
-BOOL CALLBACK GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
-BOOL CALLBACK KeyboardPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
-BOOL CALLBACK MousePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
-BOOL CALLBACK SoundPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK DisplayPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK KeyboardPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK MousePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK SoundPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
 HINSTANCE hApplet = 0;
 
 /* Applets */
index 12178ab..11715ab 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: display.c,v 1.1 2004/06/30 12:16:27 ekohl Exp $
+/* $Id: display.c,v 1.2 2004/10/11 21:08:03 weiden Exp $
  *
  * PROJECT:         ReactOS System Control Panel
  * FILE:            lib/cpl/system/advanced.c
@@ -31,7 +31,7 @@
 #include "access.h"
 
 /* Property page dialog callback */
-BOOL CALLBACK
+INT_PTR CALLBACK
 DisplayPageProc(
   HWND hwndDlg,
   UINT uMsg,
index 03f032c..0a21309 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: general.c,v 1.1 2004/06/30 12:16:27 ekohl Exp $
+/* $Id: general.c,v 1.2 2004/10/11 21:08:03 weiden Exp $
  *
  * PROJECT:         ReactOS System Control Panel
  * FILE:            lib/cpl/system/advanced.c
@@ -31,7 +31,7 @@
 #include "access.h"
 
 /* Property page dialog callback */
-BOOL CALLBACK
+INT_PTR CALLBACK
 GeneralPageProc(
   HWND hwndDlg,
   UINT uMsg,
index aeb64bf..ef11a32 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: keyboard.c,v 1.1 2004/06/30 12:16:27 ekohl Exp $
+/* $Id: keyboard.c,v 1.2 2004/10/11 21:08:03 weiden Exp $
  *
  * PROJECT:         ReactOS System Control Panel
  * FILE:            lib/cpl/system/advanced.c
@@ -31,7 +31,7 @@
 #include "access.h"
 
 /* Property page dialog callback */
-BOOL CALLBACK
+INT_PTR CALLBACK
 KeyboardPageProc(
   HWND hwndDlg,
   UINT uMsg,
index ec8ce4a..ec685c2 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: mouse.c,v 1.1 2004/06/30 12:16:27 ekohl Exp $
+/* $Id: mouse.c,v 1.2 2004/10/11 21:08:03 weiden Exp $
  *
  * PROJECT:         ReactOS System Control Panel
  * FILE:            lib/cpl/system/advanced.c
@@ -31,7 +31,7 @@
 #include "access.h"
 
 /* Property page dialog callback */
-BOOL CALLBACK
+INT_PTR CALLBACK
 MousePageProc(
   HWND hwndDlg,
   UINT uMsg,
index c1780b4..06b5019 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: sound.c,v 1.1 2004/06/30 12:16:27 ekohl Exp $
+/* $Id: sound.c,v 1.2 2004/10/11 21:08:03 weiden Exp $
  *
  * PROJECT:         ReactOS System Control Panel
  * FILE:            lib/cpl/system/advanced.c
@@ -31,7 +31,7 @@
 #include "access.h"
 
 /* Property page dialog callback */
-BOOL CALLBACK
+INT_PTR CALLBACK
 SoundPageProc(
   HWND hwndDlg,
   UINT uMsg,
index 6cf3f8a..f8f9ad6 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: appwiz.c,v 1.3 2004/07/10 22:06:39 kuehng Exp $
+/* $Id: appwiz.c,v 1.4 2004/10/11 21:08:04 weiden Exp $
  *
  * PROJECT:         ReactOS Software Control Panel
  * FILE:            lib/cpl/system/appwiz.c
@@ -42,8 +42,8 @@
 #define NUM_APPLETS    (1)
 
 LONG CALLBACK SystemApplet(VOID);
-BOOL CALLBACK GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
-BOOL CALLBACK ComputerPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK ComputerPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
 HINSTANCE hApplet = 0;
 
 /* Applets */
@@ -106,7 +106,7 @@ CallUninstall(HWND hwndDlg)
 
 
 /* Property page dialog callback */
-static BOOL CALLBACK
+static INT_PTR CALLBACK
 InstallPageProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam)
 {
   TCHAR pszName[MAX_PATH];
@@ -183,7 +183,7 @@ InstallPageProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam)
 
 
 /* Property page dialog callback */
-static BOOL CALLBACK
+static INT_PTR CALLBACK
 RosPageProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam)
 {
   switch(uMsg)
index 1bcf34d..f70ff24 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: cplsample.c,v 1.3 2004/07/10 22:06:40 kuehng Exp $
+/* $Id: cplsample.c,v 1.4 2004/10/11 21:08:04 weiden Exp $
  *
  * PROJECT:         ReactOS Sample Control Panel
  * FILE:            lib/cpl/cplsample/cplsample.c
@@ -53,7 +53,7 @@ InitPropSheetPage(PROPSHEETPAGE *psp, WORD idDlg, DLGPROC DlgProc)
 }
 
 /* Property page dialog callback */
-BOOL CALLBACK
+INT_PTR CALLBACK
 Page1Proc(
   HWND hwndDlg,
   UINT uMsg,
@@ -70,7 +70,7 @@ Page1Proc(
 }
 
 /* Property page dialog callback */
-BOOL CALLBACK
+INT_PTR CALLBACK
 Page2Proc(
   HWND hwndDlg,
   UINT uMsg,
@@ -87,7 +87,7 @@ Page2Proc(
 }
 
 /* Property page dialog callback */
-BOOL CALLBACK
+INT_PTR CALLBACK
 Page3Proc(
   HWND hwndDlg,
   UINT uMsg,
index 7af9099..8e388ca 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: desk.c,v 1.1 2004/08/07 00:05:23 kuehng Exp $
+/* $Id: desk.c,v 1.2 2004/10/11 21:08:04 weiden Exp $
  *
  * PROJECT:         ReactOS Display Control Panel
  * FILE:            lib/cpl/desk/desk.c
 #define NUM_APPLETS    (1)
 
 LONG CALLBACK DisplayApplet(VOID);
-BOOL CALLBACK BackgroundPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
-BOOL CALLBACK ScreenSaverPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
-BOOL CALLBACK AppearancePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
-BOOL CALLBACK SettingsPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK BackgroundPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK ScreenSaverPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK AppearancePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK SettingsPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
 HINSTANCE hApplet = 0;
 
 /* Applets */
@@ -64,7 +64,8 @@ APPLET Applets[NUM_APPLETS] =
 
 
 /* Property page dialog callback */
-BOOL CALLBACK BackgroundPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK
+BackgroundPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
 {
        switch(uMsg)
        {
@@ -76,7 +77,8 @@ BOOL CALLBACK BackgroundPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM
        return FALSE;
 }
 /* Property page dialog callback */
-BOOL CALLBACK ScreenSaverPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK
+ScreenSaverPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
 {
        switch(uMsg)
        {
@@ -88,7 +90,8 @@ BOOL CALLBACK ScreenSaverPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM
        return FALSE;
 }
 /* Property page dialog callback */
-BOOL CALLBACK AppearancePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK
+AppearancePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
 {
        switch(uMsg)
        {
@@ -100,7 +103,8 @@ BOOL CALLBACK AppearancePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM
        return FALSE;
 }
 /* Property page dialog callback */
-BOOL CALLBACK SettingsPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK
+SettingsPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
 {
        switch(uMsg)
        {
index a4bca68..5c6fce3 100644 (file)
@@ -15,7 +15,7 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-/* $Id: ncpa.c,v 1.3 2004/09/26 15:55:52 weiden Exp $
+/* $Id: ncpa.c,v 1.4 2004/10/11 21:08:04 weiden Exp $
  *
  * PROJECT:         ReactOS Network Control Panel
  * FILE:            lib/cpl/system/ncpa.c
@@ -129,7 +129,7 @@ void InitPropSheetPage(PROPSHEETPAGE *psp, WORD idDlg, DLGPROC DlgProc,LPARAM lP
 
 
 LONG CALLBACK DisplayApplet(VOID);
-BOOL CALLBACK NetworkPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK NetworkPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
 void DisplayTCPIPProperties(HWND hParent,IP_ADAPTER_INFO *pInfo);
 
 HINSTANCE hApplet = 0;
@@ -240,7 +240,8 @@ void NICPropertyProtocolCallback(void *pCookie,HKEY hBaseKey,TCHAR *tpszSubKey)
 
 
 
-BOOL CALLBACK NICPropertyPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK
+NICPropertyPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
 {
        PROPSHEETPAGE *pPage = (PROPSHEETPAGE *)GetWindowLongPtr(hwndDlg,GWL_USERDATA);
        switch(uMsg)
@@ -426,7 +427,8 @@ void DisplayNICProperties(HWND hParent,TCHAR *tpszCfgInstanceID)
 
 
 
-BOOL CALLBACK NICStatusPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK
+NICStatusPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
 {
        switch(uMsg)
        {
@@ -608,7 +610,8 @@ void EnumAdapters(HWND hwndDlg)
 }
 
 
-BOOL CALLBACK NetworkPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK
+NetworkPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
 {
        NMHDR* pnmh;
        int nIndex;
index 842be2d..b0a68e0 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: tcpip_properties.c,v 1.2 2004/09/26 15:55:52 weiden Exp $
+/* $Id: tcpip_properties.c,v 1.3 2004/10/11 21:08:04 weiden Exp $
  *
  * PROJECT:         ReactOS Network Control Panel
  * FILE:            lib/cpl/system/tcpip_properties.c
@@ -52,7 +52,8 @@
 
 extern void InitPropSheetPage(PROPSHEETPAGE *psp, WORD idDlg, DLGPROC DlgProc);
 
-BOOL CALLBACK TCPIPPropertyPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK
+TCPIPPropertyPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
 {
        PROPSHEETPAGE *pPage = (PROPSHEETPAGE *)GetWindowLongPtr(hwndDlg,GWL_USERDATA);
        IP_ADAPTER_INFO *pInfo = NULL;
index d61039a..08876a2 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: advanced.c,v 1.3 2004/07/02 20:28:00 ekohl Exp $
+/* $Id: advanced.c,v 1.4 2004/10/11 21:08:04 weiden Exp $
  *
  * PROJECT:         ReactOS System Control Panel
  * FILE:            lib/cpl/system/advanced.c
@@ -33,7 +33,7 @@
 #include "sysdm.h"
 
 /* Property page dialog callback */
-BOOL CALLBACK
+INT_PTR CALLBACK
 AdvancedPageProc(
   HWND hwndDlg,
   UINT uMsg,
index f2ea1c6..0c8fd6e 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: computer.c,v 1.1 2004/03/08 14:24:47 weiden Exp $
+/* $Id: computer.c,v 1.2 2004/10/11 21:08:04 weiden Exp $
  *
  * PROJECT:         ReactOS System Control Panel
  * FILE:            lib/cpl/system/computer.c
@@ -31,7 +31,7 @@
 #include "sysdm.h"
 
 /* Property page dialog callback */
-BOOL CALLBACK
+INT_PTR CALLBACK
 ComputerPageProc(
   HWND hwndDlg,
   UINT uMsg,
index 0f3aec2..ee2ec30 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: environment.c,v 1.4 2004/09/26 15:55:53 weiden Exp $
+/* $Id: environment.c,v 1.5 2004/10/11 21:08:04 weiden Exp $
  *
  * PROJECT:         ReactOS System Control Panel
  * FILE:            lib/cpl/sysdm/environment.c
@@ -42,7 +42,7 @@ typedef struct _VARIABLE_DATA
 
 
 
-BOOL CALLBACK
+INT_PTR CALLBACK
 EditVariableDlgProc(HWND hwndDlg,
                    UINT uMsg,
                    WPARAM wParam,
@@ -475,7 +475,7 @@ ReleaseListViewItems(HWND hwndDlg,
 
 
 /* Environment dialog procedure */
-BOOL CALLBACK
+INT_PTR CALLBACK
 EnvironmentDlgProc(HWND hwndDlg,
                   UINT uMsg,
                   WPARAM wParam,
index 9d8b137..d7a10fb 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: general.c,v 1.2 2004/06/30 10:53:05 ekohl Exp $
+/* $Id: general.c,v 1.3 2004/10/11 21:08:04 weiden Exp $
  *
  * PROJECT:         ReactOS System Control Panel
  * FILE:            lib/cpl/system/general.c
@@ -90,7 +90,7 @@ ObtainSystemInformationThread(POSITINFO posit)
 }
 
 /* Property page dialog callback */
-BOOL CALLBACK
+INT_PTR CALLBACK
 GeneralPageProc(
   HWND hwndDlg,
   UINT uMsg,
index eb56423..5ab9591 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: hardware.c,v 1.2 2004/06/30 10:53:05 ekohl Exp $
+/* $Id: hardware.c,v 1.3 2004/10/11 21:08:04 weiden Exp $
  *
  * PROJECT:         ReactOS System Control Panel
  * FILE:            lib/cpl/system/hardware.c
@@ -55,7 +55,7 @@ BOOL LaunchDeviceManager(HWND hWndParent)
 }
 
 /* Property page dialog callback */
-BOOL CALLBACK
+INT_PTR CALLBACK
 HardwarePageProc(
   HWND hwndDlg,
   UINT uMsg,
index 915203d..a4003d7 100644 (file)
@@ -15,14 +15,14 @@ extern HINSTANCE hApplet;
 
 void ShowLastWin32Error(HWND hWndOwner);
 
-BOOL CALLBACK GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
-BOOL CALLBACK ComputerPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
-BOOL CALLBACK HardwarePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
-BOOL CALLBACK AdvancedPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
-BOOL CALLBACK UserProfilePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK ComputerPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK HardwarePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK AdvancedPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK UserProfilePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
 
 /* environment.c */
-BOOL CALLBACK EnvironmentDlgProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK EnvironmentDlgProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
 
 
 #endif /* __CPL_SYSDM_H */
index fd2425f..1cbe019 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: userprofile.c,v 1.1 2004/06/30 10:53:05 ekohl Exp $
+/* $Id: userprofile.c,v 1.2 2004/10/11 21:08:04 weiden Exp $
  *
  * PROJECT:         ReactOS System Control Panel
  * FILE:            lib/cpl/system/computer.c
@@ -31,7 +31,7 @@
 #include "sysdm.h"
 
 /* Property page dialog callback */
-BOOL CALLBACK
+INT_PTR CALLBACK
 UserProfilePageProc(
   HWND hwndDlg,
   UINT uMsg,
index 93f7c1d..f5e68b6 100644 (file)
@@ -16,7 +16,7 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-/* $Id: devmgr.c,v 1.2 2004/09/28 16:04:15 weiden Exp $
+/* $Id: devmgr.c,v 1.3 2004/10/11 21:08:04 weiden Exp $
  *
  * PROJECT:         ReactOS devmgr.dll
  * FILE:            lib/devmgr/devmgr.c
@@ -29,7 +29,7 @@
 #include "devmgr.h"
 #include "resource.h"
 
-extern HINSTANCE hDllInstance;
+HINSTANCE hDllInstance;
 
 
 BOOL STDCALL
index 8a27758..bcd3fac 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef __DEVMGR_H
 #define __DEVMGR_H
 
-HINSTANCE hDllInstance;
+extern HINSTANCE hDllInstance;
 
 WINBOOL
 WINAPI
index d6d8191..9dd4d9e 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: msgina.c,v 1.9 2004/03/28 12:19:07 weiden Exp $
+/* $Id: msgina.c,v 1.10 2004/10/11 21:08:04 weiden Exp $
  *
  * PROJECT:         ReactOS msgina.dll
  * FILE:            lib/msgina/msgina.c
@@ -42,7 +42,7 @@ typedef struct _DISPLAYSTATUSMSG
   HANDLE StartupEvent;
 } DISPLAYSTATUSMSG, *PDISPLAYSTATUSMSG;
 
-BOOL CALLBACK 
+INT_PTR CALLBACK
 LoggedOnDlgProc(
   HWND hwndDlg,
   UINT uMsg,
index 9f44d73..ddcb24a 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: wizard.c,v 1.8 2004/09/26 15:55:53 weiden Exp $
+/* $Id: wizard.c,v 1.9 2004/10/11 21:08:04 weiden Exp $
  *
  * COPYRIGHT:         See COPYING in the top level directory
  * PROJECT:           ReactOS system libraries
@@ -98,7 +98,7 @@ CreateTitleFont(VOID)
 }
 
 
-BOOL CALLBACK
+INT_PTR CALLBACK
 WelcomeDlgProc(HWND hwndDlg,
                UINT uMsg,
                WPARAM wParam,
@@ -164,7 +164,7 @@ WelcomeDlgProc(HWND hwndDlg,
 }
 
 
-BOOL CALLBACK
+INT_PTR CALLBACK
 OwnerPageDlgProc(HWND hwndDlg,
                  UINT uMsg,
                  WPARAM wParam,
@@ -254,7 +254,7 @@ OwnerPageDlgProc(HWND hwndDlg,
 }
 
 
-BOOL CALLBACK
+INT_PTR CALLBACK
 ComputerPageDlgProc(HWND hwndDlg,
                     UINT uMsg,
                     WPARAM wParam,
@@ -355,7 +355,7 @@ ComputerPageDlgProc(HWND hwndDlg,
 }
 
 
-BOOL CALLBACK
+INT_PTR CALLBACK
 LocalePageDlgProc(HWND hwndDlg,
                   UINT uMsg,
                   WPARAM wParam,
@@ -406,7 +406,7 @@ LocalePageDlgProc(HWND hwndDlg,
 }
 
 
-BOOL CALLBACK
+INT_PTR CALLBACK
 ProcessPageDlgProc(HWND hwndDlg,
                    UINT uMsg,
                    WPARAM wParam,
@@ -481,7 +481,7 @@ ProcessPageDlgProc(HWND hwndDlg,
 
 
 
-BOOL CALLBACK
+INT_PTR CALLBACK
 FinishDlgProc(HWND hwndDlg,
               UINT uMsg,
               WPARAM wParam,
index 324d1d5..3cedc01 100644 (file)
@@ -93,7 +93,7 @@ WebChildWndInfo::WebChildWndInfo(HWND hmdiclient, LPCTSTR url)
 }
 
 
-BOOL CALLBACK ExecuteDialog::WndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM lparam)
+INT_PTR CALLBACK ExecuteDialog::WndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM lparam)
 {
        static struct ExecuteDialog* dlg;
 
index 2fea578..d5d0721 100644 (file)
@@ -132,5 +132,5 @@ struct ExecuteDialog {      ///@todo use class Dialog
        TCHAR   cmd[MAX_PATH];
        int             cmdshow;
 
-       static BOOL CALLBACK WndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM lparam);
+       static INT_PTR CALLBACK WndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM lparam);
 };
index 2a71a88..04040f3 100644 (file)
@@ -131,7 +131,8 @@ static BOOL _CmdWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
  *  WM_DESTROY  - post a quit message and return
  *
  */
-LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK
+ChildWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
 {
     static short last_split;
     BOOL Result;
index 93c7c02..71a7b5d 100644 (file)
@@ -642,7 +642,8 @@ static BOOL _CmdWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
  *
  */
 
-LRESULT CALLBACK FrameWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK
+FrameWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
 {
     switch (message) {
     case WM_CREATE:
index 32e2ea8..a363752 100644 (file)
@@ -60,7 +60,7 @@ typedef struct
 #define HEHT_ASCIIDUMP (0x6)
 #define HEHT_RIGHTMARGIN       (0x7)
 
-LRESULT WINAPI HexEditWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK HexEditWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
 
 ATOM
 STDCALL
@@ -858,8 +858,7 @@ HEXEDIT_WM_SIZE(PHEXEDIT_DATA hed, DWORD sType, WORD NewWidth, WORD NewHeight)
   return 0;
 }
 
-LRESULT
-WINAPI
+INT_PTR CALLBACK
 HexEditWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 {
   PHEXEDIT_DATA hed;
index 96c6d42..5bce146 100644 (file)
@@ -80,10 +80,10 @@ extern TCHAR szChildClass[];
 extern void ShowAboutBox(HWND hWnd);
 
 /* childwnd.c */
-extern LRESULT CALLBACK ChildWndProc(HWND, UINT, WPARAM, LPARAM);
+extern INT_PTR CALLBACK ChildWndProc(HWND, UINT, WPARAM, LPARAM);
 
 /* framewnd.c */
-extern LRESULT CALLBACK FrameWndProc(HWND, UINT, WPARAM, LPARAM);
+extern INT_PTR CALLBACK FrameWndProc(HWND, UINT, WPARAM, LPARAM);
 extern void SetupStatusBar(HWND hWnd, BOOL bResize);
 extern void UpdateStatusBar(void);
 
index df57aa1..676e2cc 100644 (file)
     
 #include "about.h"
 
-LRESULT CALLBACK AboutDialogWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK AboutDialogWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
 
 void OnAbout(void)
 {
     DialogBox(hInst, MAKEINTRESOURCE(IDD_ABOUTBOX), hMainWnd, (DLGPROC)AboutDialogWndProc);
 }
 
-LRESULT CALLBACK AboutDialogWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK
+AboutDialogWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
 {
     HWND    hLicenseEditWnd;
     TCHAR    strLicense[0x1000];
index ae99fa3..8f6209f 100644 (file)
@@ -35,7 +35,7 @@
 
 HANDLE        hProcessAffinityHandle;
 
-LRESULT CALLBACK AffinityDialogWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK AffinityDialogWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
 
 void ProcessPage_OnSetAffinity(void)
 {
@@ -69,7 +69,8 @@ void ProcessPage_OnSetAffinity(void)
     }
 }
 
-LRESULT CALLBACK AffinityDialogWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK
+AffinityDialogWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
 {
     DWORD    dwProcessAffinityMask = 0;
     DWORD    dwSystemAffinityMask = 0;
index ebee748..eca2e3f 100644 (file)
@@ -64,7 +64,8 @@ BOOL bRestore /* Restore the window if it is minimized */
 );
 #endif
 
-LRESULT CALLBACK ApplicationPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK
+ApplicationPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
 {
     RECT        rc;
     int         nXDifference;
index 0c48d10..ab21535 100644 (file)
@@ -30,7 +30,7 @@ extern    HWND        hApplicationPageEndTaskButton;    /* Application End Task
 extern    HWND        hApplicationPageSwitchToButton;    /* Application Switch To button */
 extern    HWND        hApplicationPageNewTaskButton;    /* Application New Task button */
 
-LRESULT CALLBACK    ApplicationPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK    ApplicationPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
 void                RefreshApplicationPage(void);
 void                UpdateApplicationListControlViewSetting(void);
 
index 976ac8f..ccf1f2b 100644 (file)
@@ -33,8 +33,8 @@
 
 UINT    ColumnDataHints[25];
 
-int                    InsertColumn(int nCol, LPCTSTR lpszColumnHeading, int nFormat, int nWidth, int nSubItem);
-LRESULT CALLBACK    ColumnsDialogWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
+int                 InsertColumn(int nCol, LPCTSTR lpszColumnHeading, int nFormat, int nWidth, int nSubItem);
+INT_PTR CALLBACK    ColumnsDialogWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
 
 void AddColumns(void)
 {
@@ -368,7 +368,8 @@ void ProcessPage_OnViewSelectColumns(void)
     }
 }
 
-LRESULT CALLBACK ColumnsDialogWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK
+ColumnsDialogWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
 {
 
     switch (message)
index b50d613..4ec1f61 100644 (file)
@@ -397,7 +397,7 @@ static void DebugChannels_OnNotify(HWND hDlg, LPARAM lParam)
     }
 }
 
-static LRESULT CALLBACK DebugChannelsDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
+static INT_PTR CALLBACK DebugChannelsDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
 {
     switch (message)
     {
@@ -419,5 +419,5 @@ static LRESULT CALLBACK DebugChannelsDlgProc(HWND hDlg, UINT message, WPARAM wPa
 
 void ProcessPage_OnDebugChannels(void)
 {
-    DialogBox(hInst, (LPCTSTR)IDD_DEBUG_CHANNELS_DIALOG, hMainWnd, (DLGPROC)DebugChannelsDlgProc);
+    DialogBox(hInst, (LPCTSTR)IDD_DEBUG_CHANNELS_DIALOG, hMainWnd, DebugChannelsDlgProc);
 }
index 3403b22..861e36d 100644 (file)
@@ -40,7 +40,8 @@ void                Graph_DrawCpuUsageGraph(HDC hDC, HWND hWnd);
 void                Graph_DrawMemUsageGraph(HDC hDC, HWND hWnd);
 void                Graph_DrawMemUsageHistoryGraph(HDC hDC, HWND hWnd);
 
-LRESULT CALLBACK Graph_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK
+Graph_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
 {
     HDC                hdc;
     PAINTSTRUCT        ps;
index 633fd49..5153cad 100644 (file)
@@ -34,7 +34,7 @@ extern "C" {
 
 extern LONG                            OldGraphWndProc;
 
-LRESULT CALLBACK       Graph_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK       Graph_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
 
 
 #ifdef __cplusplus
index 18cd2d8..65ad43e 100644 (file)
@@ -530,7 +530,8 @@ extern TGraphCtrl PerformancePageMemUsageHistoryGraph;
 extern HWND hPerformancePageCpuUsageHistoryGraph;
 extern HWND hPerformancePageMemUsageHistoryGraph;
 
-LRESULT CALLBACK GraphCtrl_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK
+GraphCtrl_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
 {
     RECT        rcClient;
     HDC            hdc;
index 589500b..5a2e22b 100644 (file)
@@ -104,7 +104,7 @@ color);
 void    GraphCtrl_SetRange(TGraphCtrl* this, double dLower, double 
 dUpper, int nDecimalPlaces);
 
-LRESULT CALLBACK GraphCtrl_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK GraphCtrl_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
 
 #ifdef __cplusplus
 }
index f983675..119fbe3 100644 (file)
@@ -117,7 +117,8 @@ void AdjustCntrlPos(int ctrl_id, HWND hDlg, int nXDifference, int nYDifference)
     AdjustFrameSize(GetDlgItem(hDlg, ctrl_id), hDlg, nXDifference, nYDifference, 0);
 }
                 
-LRESULT CALLBACK PerformancePageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK
+PerformancePageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
 {
        RECT    rc;
        int             nXDifference;
index 0a9b0b7..c92e048 100644 (file)
@@ -28,7 +28,7 @@ extern "C" {
 #endif
 
 extern HWND            hPerformancePage;               /* Performance Property Page */
-LRESULT CALLBACK       PerformancePageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK       PerformancePageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
 void   RefreshPerformancePage(void);
 void   PerformancePage_OnViewShowKernelTimes(void);
 void   PerformancePage_OnViewCPUHistoryOneGraphAll(void);
index de9f63c..3b544a6 100644 (file)
 #include "perfdata.h"
 
 
-LRESULT CALLBACK    ProcessListWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK    ProcessListWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
 
 WNDPROC             OldProcessListWndProc;
 
 
-LRESULT CALLBACK ProcessListWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK
+ProcessListWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
 {
     HBRUSH    hbrBackground;
     RECT    rcItem;
@@ -116,5 +117,5 @@ LRESULT CALLBACK ProcessListWndProc(HWND hWnd, UINT message, WPARAM wParam, LPAR
     /*
      * We pass on all messages except WM_ERASEBKGND
      */
-    return CallWindowProc((WNDPROC)OldProcessListWndProc, hWnd, message, wParam, lParam);
+    return CallWindowProc(OldProcessListWndProc, hWnd, message, wParam, lParam);
 }
index f5e9d51..d9fbb18 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef __PROCLIST_H
 #define __PROCLIST_H
 
-LRESULT CALLBACK       ProcessListWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK       ProcessListWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
 
 extern WNDPROC         OldProcessListWndProc;
 
index 3333dc7..ff2d0cd 100644 (file)
@@ -53,7 +53,8 @@ void CommaSeparateNumberString(LPTSTR strNumber, int nMaxCount);
 void ProcessPageShowContextMenu(DWORD dwProcessId);
 DWORD WINAPI ProcessPageRefreshThread(void *lpParameter);
 
-LRESULT CALLBACK ProcessPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK
+ProcessPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
 {
     RECT    rc;
     int        nXDifference;
index 379c02c..1d4268d 100644 (file)
@@ -29,7 +29,7 @@ extern        HWND            hProcessPageHeaderCtrl;                 /* Process Header Control */
 extern HWND            hProcessPageEndProcessButton;           /* Process End Process button */
 extern HWND            hProcessPageShowAllProcessesButton;     /* Process Show All Processes checkbox */
 
-LRESULT CALLBACK       ProcessPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
+INT_PTR CALLBACK       ProcessPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
 void                           RefreshProcessPage(void);
 
 #endif /* __PROCESSPAGE_H */
index 36945a6..fdb58a4 100644 (file)
@@ -106,7 +106,7 @@ int APIENTRY WinMain(HINSTANCE hInstance,
         return -1;
     }
 
-    DialogBox(hInst, (LPCTSTR)IDD_TASKMGR_DIALOG, NULL, (DLGPROC)TaskManagerWndProc);
+    DialogBox(hInst, (LPCTSTR)IDD_TASKMGR_DIALOG, NULL, TaskManagerWndProc);
  
     /* Save our settings to the registry */
     SaveSettings();
@@ -115,7 +115,8 @@ int APIENTRY WinMain(HINSTANCE hInstance,
 }
 
 /* Message handler for dialog box. */
-LRESULT CALLBACK TaskManagerWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK
+TaskManagerWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
 {
     HDC             hdc;
     PAINTSTRUCT     ps;
index d3b1f96..32682bf 100644 (file)
@@ -125,7 +125,7 @@ extern      int                     nOldHeight;                                     /* Holds the previous client area height */
 extern TASKMANAGER_SETTINGS    TaskManagerSettings;
 
 /* Foward declarations of functions included in this code module: */
-LRESULT CALLBACK TaskManagerWndProc(HWND, UINT, WPARAM, LPARAM);
+INT_PTR CALLBACK TaskManagerWndProc(HWND, UINT, WPARAM, LPARAM);
 BOOL OnCreate(HWND hWnd);
 void OnSize(UINT nType, int cx, int cy);
 void OnMove(UINT nType, int cx, int cy);
index cc45532..cd72dd0 100644 (file)
@@ -18,7 +18,7 @@
  *
  * VMware is a registered trademark of VMware, Inc.
  */
-/* $Id: vmwinst.c,v 1.11 2004/09/24 20:20:46 weiden Exp $
+/* $Id: vmwinst.c,v 1.12 2004/10/11 21:08:05 weiden Exp $
  *
  * COPYRIGHT:   See COPYING in the top level directory
  * PROJECT:     ReactOS VMware(r) driver installation utility
@@ -369,7 +369,7 @@ InitPropSheetPage(PROPSHEETPAGE *psp, WORD idDlg, DWORD Flags, DLGPROC DlgProc)
 }
 
 /* Property page dialog callback */
-int CALLBACK
+INT_PTR CALLBACK
 PageWelcomeProc(
   HWND hwndDlg,
   UINT uMsg,
@@ -414,7 +414,7 @@ PageWelcomeProc(
 }
 
 /* Property page dialog callback */
-int CALLBACK
+INT_PTR CALLBACK
 PageInsertDiscProc(
   HWND hwndDlg,
   UINT uMsg,
@@ -569,7 +569,7 @@ InstStartInstallationThread(HWND hwndNotify)
 }
 
 /* Property page dialog callback */
-int CALLBACK
+INT_PTR CALLBACK
 PageInstallingProc(
   HWND hwndDlg,
   UINT uMsg,
@@ -638,7 +638,7 @@ PageInstallingProc(
 }
 
 /* Property page dialog callback */
-BOOL CALLBACK
+INT_PTR CALLBACK
 PageInstallFailedProc(
   HWND hwndDlg,
   UINT uMsg,
@@ -686,7 +686,7 @@ typedef struct
 } MAPCTLRES;
 
 /* Property page dialog callback */
-BOOL CALLBACK
+INT_PTR CALLBACK
 PageConfigProc(
   HWND hwndDlg,
   UINT uMsg,
@@ -799,7 +799,7 @@ PageConfigProc(
 }
 
 /* Property page dialog callback */
-BOOL CALLBACK
+INT_PTR CALLBACK
 PageChooseActionProc(
   HWND hwndDlg,
   UINT uMsg,
@@ -851,7 +851,7 @@ PageChooseActionProc(
 }
 
 /* Property page dialog callback */
-BOOL CALLBACK
+INT_PTR CALLBACK
 PageSelectDriverProc(
   HWND hwndDlg,
   UINT uMsg,
@@ -921,7 +921,7 @@ ShowUninstNotice(HWND Owner)
   MessageBox(Owner, Msg, NULL, MB_ICONINFORMATION);
 }
 
-BOOL CALLBACK
+INT_PTR CALLBACK
 PageDoUninstallProc(
   HWND hwndDlg,
   UINT uMsg,
index fc5b906..6ca856b 100755 (executable)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: welcome.c,v 1.6 2004/09/26 15:55:53 weiden Exp $
+/* $Id: welcome.c,v 1.7 2004/10/11 21:08:05 weiden Exp $
  *
  * COPYRIGHT:   See COPYING in the top level directory
  * PROJECT:     ReactOS welcome/autorun application
@@ -89,7 +89,7 @@ RECT rcRightPanel;
 WNDPROC fnOldBtn;
 
 
-LRESULT CALLBACK
+INT_PTR CALLBACK
 MainWndProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
 
 
@@ -211,7 +211,7 @@ WinMain(HINSTANCE hInst,
 }
 
 
-LRESULT CALLBACK
+INT_PTR CALLBACK
 ButtonSubclassWndProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 {
   LONG i;
@@ -783,7 +783,7 @@ OnDestroy(HWND hWnd, WPARAM wParam, LPARAM lParam)
 }
 
 
-LRESULT CALLBACK
+INT_PTR CALLBACK
 MainWndProc(HWND hWnd,
            UINT uMsg,
            WPARAM wParam,
index 22e44a3..ef2cb18 100644 (file)
@@ -1601,7 +1601,7 @@ struct ExecuteDialog {
 };
 
 
-static BOOL CALLBACK ExecuteDialogDlgProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM lparam)
+static INT_PTR CALLBACK ExecuteDialogDlgProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM lparam)
 {
        static struct ExecuteDialog* dlg;
 
@@ -1627,7 +1627,7 @@ static BOOL CALLBACK ExecuteDialogDlgProc(HWND hwnd, UINT nmsg, WPARAM wparam, L
        return 0;
 }
 
-static BOOL CALLBACK DestinationDlgProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM lparam)
+static INT_PTR CALLBACK DestinationDlgProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM lparam)
 {
        TCHAR b1[BUFFER_LEN], b2[BUFFER_LEN];
 
index 61aae7d..867e6e5 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: winlogon.c,v 1.34 2004/07/12 20:09:35 gvg Exp $
+/* $Id: winlogon.c,v 1.35 2004/10/11 21:08:05 weiden Exp $
  * 
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -65,7 +65,7 @@ PrintString (WCHAR* fmt,...)
 }
 
 
-BOOL CALLBACK
+INT_PTR CALLBACK
 ShutdownComputerProc (HWND hwndDlg,
                      UINT uMsg,
                      WPARAM wParam,
index 1be312b..7a8f72a 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: wlx.c,v 1.5 2004/07/12 20:09:35 gvg Exp $
+/* $Id: wlx.c,v 1.6 2004/10/11 21:08:05 weiden Exp $
  * 
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -521,8 +521,7 @@ GetMsGinaPath(WCHAR *path)
   RegCloseKey(hKey);
 }
 
-BOOL 
-CALLBACK 
+INT_PTR CALLBACK
 GinaLoadFailedProc(
   HWND hwndDlg,
   UINT uMsg,