Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7300f563
Commit
7300f563
authored
Jun 04, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 05, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmdlgtst: Use correct types for Win64.
parent
a4eb809f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
cmdlgtst.c
programs/cmdlgtst/cmdlgtst.c
+11
-11
No files found.
programs/cmdlgtst/cmdlgtst.c
View file @
7300f563
...
@@ -559,7 +559,7 @@ static void mw_PageSetup(HWND hWnd)
...
@@ -559,7 +559,7 @@ static void mw_PageSetup(HWND hWnd)
* In particular, we have to set things properly, and get the flags back.
* 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
;
int
i
;
...
@@ -569,7 +569,7 @@ static void mwcd_SetFlags(HWND hWnd, struct FlagTableEntry *table, unsigned long
...
@@ -569,7 +569,7 @@ static void mwcd_SetFlags(HWND hWnd, struct FlagTableEntry *table, unsigned long
}
}
}
}
static
unsigned
long
mwcd_GetFlags
(
HWND
hWnd
,
struct
FlagTableEntry
*
table
)
static
DWORD
mwcd_GetFlags
(
HWND
hWnd
,
struct
FlagTableEntry
*
table
)
{
{
int
i
;
int
i
;
unsigned
long
l
=
0
;
unsigned
long
l
=
0
;
...
@@ -590,8 +590,8 @@ static unsigned long mwcd_GetFlags(HWND hWnd, struct FlagTableEntry * table)
...
@@ -590,8 +590,8 @@ static unsigned long mwcd_GetFlags(HWND hWnd, struct FlagTableEntry * table)
* not the handlers. I'll fix that later; this works as of right now.
* 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
,
static
INT_PTR
mwcd_Setup
(
HWND
hWnd
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
,
struct
FlagTableEntry
*
table
,
unsigned
long
*
flags
)
struct
FlagTableEntry
*
table
,
DWORD
*
flags
)
{
{
(
void
)
lParam
;
(
void
)
lParam
;
...
@@ -629,7 +629,7 @@ static BOOL mwcd_Setup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam,
...
@@ -629,7 +629,7 @@ static BOOL mwcd_Setup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam,
}
}
}
}
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
[]
=
{
static
struct
FlagTableEntry
flagTable
[]
=
{
{
I_CC_RGBINIT
,
CC_RGBINIT
},
{
I_CC_RGBINIT
,
CC_RGBINIT
},
...
@@ -645,7 +645,7 @@ static BOOL CALLBACK mwcd_ColorSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM
...
@@ -645,7 +645,7 @@ static BOOL CALLBACK mwcd_ColorSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM
return
mwcd_Setup
(
hWnd
,
uMsg
,
wParam
,
lParam
,
flagTable
,
&
cc
.
Flags
);
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
[]
=
{
static
struct
FlagTableEntry
flagTable
[]
=
{
{
I_CF_APPLY
,
CF_APPLY
},
{
I_CF_APPLY
,
CF_APPLY
},
...
@@ -676,7 +676,7 @@ static BOOL CALLBACK mwcd_FontSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM
...
@@ -676,7 +676,7 @@ static BOOL CALLBACK mwcd_FontSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM
return
mwcd_Setup
(
hWnd
,
uMsg
,
wParam
,
lParam
,
flagTable
,
&
cf
.
Flags
);
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
[]
=
{
static
struct
FlagTableEntry
flagTable
[]
=
{
...
@@ -703,7 +703,7 @@ static BOOL CALLBACK mwcd_FindSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM
...
@@ -703,7 +703,7 @@ static BOOL CALLBACK mwcd_FindSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM
return
mwcd_Setup
(
hWnd
,
uMsg
,
wParam
,
lParam
,
flagTable
,
&
frS
.
Flags
);
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
[]
=
{
static
struct
FlagTableEntry
flagTable
[]
=
{
{
I_PD_ALLPAGES
,
PD_ALLPAGES
},
{
I_PD_ALLPAGES
,
PD_ALLPAGES
},
...
@@ -734,7 +734,7 @@ static BOOL CALLBACK mwcd_PrintSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM
...
@@ -734,7 +734,7 @@ static BOOL CALLBACK mwcd_PrintSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM
return
mwcd_Setup
(
hWnd
,
uMsg
,
wParam
,
lParam
,
flagTable
,
&
pd
.
Flags
);
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
[]
=
{
static
struct
FlagTableEntry
flagTable
[]
=
{
{
I_PSD_DEFAULTMINMARGINS
,
PSD_DEFAULTMINMARGINS
},
{
I_PSD_DEFAULTMINMARGINS
,
PSD_DEFAULTMINMARGINS
},
...
@@ -762,7 +762,7 @@ static BOOL CALLBACK mwcd_PageSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM
...
@@ -762,7 +762,7 @@ static BOOL CALLBACK mwcd_PageSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM
return
mwcd_Setup
(
hWnd
,
uMsg
,
wParam
,
lParam
,
flagTable
,
&
psd
.
Flags
);
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
[]
=
{
static
struct
FlagTableEntry
flagTable
[]
=
{
{
I_OFN_ALLOWMULTISELECT
,
OFN_ALLOWMULTISELECT
},
{
I_OFN_ALLOWMULTISELECT
,
OFN_ALLOWMULTISELECT
},
...
@@ -788,7 +788,7 @@ static BOOL CALLBACK mwcd_FileSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM
...
@@ -788,7 +788,7 @@ static BOOL CALLBACK mwcd_FileSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM
return
mwcd_Setup
(
hWnd
,
uMsg
,
wParam
,
lParam
,
flagTable
,
&
ofn
.
Flags
);
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
)
wParam
;
(
void
)
lParam
;
(
void
)
lParam
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment