Mike McCormack : cmdlgtst: Use correct types for Win64.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jun 5 07:28:10 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 7300f56300e1c8a30d9e3e6c7fba035fadb95694
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=7300f56300e1c8a30d9e3e6c7fba035fadb95694
Author: Mike McCormack <mike at codeweavers.com>
Date: Sun Jun 4 00:28:21 2006 +0900
cmdlgtst: Use correct types for Win64.
---
programs/cmdlgtst/cmdlgtst.c | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/programs/cmdlgtst/cmdlgtst.c b/programs/cmdlgtst/cmdlgtst.c
index 410b3a5..f82388b 100644
--- a/programs/cmdlgtst/cmdlgtst.c
+++ b/programs/cmdlgtst/cmdlgtst.c
@@ -559,7 +559,7 @@ static void mw_PageSetup(HWND hWnd)
* In particular, we have to set things properly, and get the flags back.
*/
-static void mwcd_SetFlags(HWND hWnd, struct FlagTableEntry *table, unsigned long flags)
+static void mwcd_SetFlags(HWND hWnd, struct FlagTableEntry *table, DWORD flags)
{
int i;
@@ -569,7 +569,7 @@ static void mwcd_SetFlags(HWND hWnd, str
}
}
-static unsigned long mwcd_GetFlags(HWND hWnd, struct FlagTableEntry * table)
+static DWORD mwcd_GetFlags(HWND hWnd, struct FlagTableEntry * table)
{
int i;
unsigned long l = 0;
@@ -590,8 +590,8 @@ static unsigned long mwcd_GetFlags(HWND
* not the handlers. I'll fix that later; this works as of right now.
*/
-static BOOL mwcd_Setup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam,
- struct FlagTableEntry * table, unsigned long * flags)
+static INT_PTR mwcd_Setup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam,
+ struct FlagTableEntry * table, DWORD* flags)
{
(void) lParam;
@@ -629,7 +629,7 @@ static BOOL mwcd_Setup(HWND hWnd, UINT u
}
}
-static BOOL CALLBACK mwcd_ColorSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
+static INT_PTR CALLBACK mwcd_ColorSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
static struct FlagTableEntry flagTable[] = {
{I_CC_RGBINIT, CC_RGBINIT},
@@ -645,7 +645,7 @@ static BOOL CALLBACK mwcd_ColorSetup(HWN
return mwcd_Setup(hWnd, uMsg, wParam, lParam, flagTable, &cc.Flags);
}
-static BOOL CALLBACK mwcd_FontSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
+static INT_PTR CALLBACK mwcd_FontSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
static struct FlagTableEntry flagTable[] = {
{I_CF_APPLY, CF_APPLY},
@@ -676,7 +676,7 @@ static BOOL CALLBACK mwcd_FontSetup(HWND
return mwcd_Setup(hWnd, uMsg, wParam, lParam, flagTable, &cf.Flags);
}
-static BOOL CALLBACK mwcd_FindSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
+static INT_PTR CALLBACK mwcd_FindSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
static struct FlagTableEntry flagTable[] = {
@@ -703,7 +703,7 @@ static BOOL CALLBACK mwcd_FindSetup(HWND
return mwcd_Setup(hWnd, uMsg, wParam, lParam, flagTable, &frS.Flags);
}
-static BOOL CALLBACK mwcd_PrintSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
+static INT_PTR CALLBACK mwcd_PrintSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
static struct FlagTableEntry flagTable[] = {
{I_PD_ALLPAGES, PD_ALLPAGES},
@@ -734,7 +734,7 @@ static BOOL CALLBACK mwcd_PrintSetup(HWN
return mwcd_Setup(hWnd, uMsg, wParam, lParam, flagTable, &pd.Flags);
}
-static BOOL CALLBACK mwcd_PageSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
+static INT_PTR CALLBACK mwcd_PageSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
static struct FlagTableEntry flagTable[] = {
{I_PSD_DEFAULTMINMARGINS, PSD_DEFAULTMINMARGINS},
@@ -762,7 +762,7 @@ static BOOL CALLBACK mwcd_PageSetup(HWND
return mwcd_Setup(hWnd, uMsg, wParam, lParam, flagTable, &psd.Flags);
}
-static BOOL CALLBACK mwcd_FileSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
+static INT_PTR CALLBACK mwcd_FileSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
static struct FlagTableEntry flagTable[] = {
{I_OFN_ALLOWMULTISELECT, OFN_ALLOWMULTISELECT},
@@ -788,7 +788,7 @@ static BOOL CALLBACK mwcd_FileSetup(HWND
return mwcd_Setup(hWnd, uMsg, wParam, lParam, flagTable, &ofn.Flags);
}
-static BOOL CALLBACK mwcd_About(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
+static INT_PTR CALLBACK mwcd_About(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
(void) wParam;
(void) lParam;
More information about the wine-cvs
mailing list