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
cde3101b
Commit
cde3101b
authored
Apr 09, 2008
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winefile: Fix Win64 warnings.
parent
888d157b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
winefile.c
programs/winefile/winefile.c
+8
-8
No files found.
programs/winefile/winefile.c
View file @
cde3101b
...
...
@@ -2406,7 +2406,7 @@ static LRESULT CALLBACK FrameWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM
if
(
DialogBoxParam
(
Globals
.
hInstance
,
MAKEINTRESOURCE
(
IDD_EXECUTE
),
hwnd
,
ExecuteDialogDlgProc
,
(
LPARAM
)
&
dlg
)
==
IDOK
)
{
HINSTANCE
hinst
=
ShellExecute
(
hwnd
,
NULL
/*operation*/
,
dlg
.
cmd
/*file*/
,
NULL
/*parameters*/
,
NULL
/*dir*/
,
dlg
.
cmdshow
);
if
(
(
int
)
hinst
<=
32
)
if
(
PtrToUlong
(
hinst
)
<=
32
)
display_error
(
hwnd
,
GetLastError
());
}
break
;}
...
...
@@ -2598,13 +2598,13 @@ static void resize_tree(ChildWnd* child, int cx, int cy)
#ifndef _NO_EXTENSIONS
static
HWND
create_header
(
HWND
parent
,
Pane
*
pane
,
int
id
)
static
HWND
create_header
(
HWND
parent
,
Pane
*
pane
,
UINT
id
)
{
HD_ITEM
hdi
;
int
idx
;
HWND
hwnd
=
CreateWindow
(
WC_HEADER
,
0
,
WS_CHILD
|
WS_VISIBLE
|
HDS_HORZ
|
HDS_FULLDRAG
/*TODO: |HDS_BUTTONS + sort orders*/
,
0
,
0
,
0
,
0
,
parent
,
(
HMENU
)
id
,
Globals
.
hInstance
,
0
);
0
,
0
,
0
,
0
,
parent
,
(
HMENU
)
ULongToHandle
(
id
)
,
Globals
.
hInstance
,
0
);
if
(
!
hwnd
)
return
0
;
...
...
@@ -2952,7 +2952,7 @@ static void set_space_status(void)
static
WNDPROC
g_orgTreeWndProc
;
static
void
create_tree_window
(
HWND
parent
,
Pane
*
pane
,
int
id
,
int
id_header
,
LPCTSTR
pattern
,
int
filter_flags
)
static
void
create_tree_window
(
HWND
parent
,
Pane
*
pane
,
UINT
id
,
UINT
id_header
,
LPCTSTR
pattern
,
int
filter_flags
)
{
static
const
TCHAR
sListBox
[]
=
{
'L'
,
'i'
,
's'
,
't'
,
'B'
,
'o'
,
'x'
,
'\0'
};
...
...
@@ -2960,8 +2960,8 @@ static void create_tree_window(HWND parent, Pane* pane, int id, int id_header, L
Entry
*
entry
=
pane
->
root
;
pane
->
hwnd
=
CreateWindow
(
sListBox
,
sEmpty
,
WS_CHILD
|
WS_VISIBLE
|
WS_HSCROLL
|
WS_VSCROLL
|
LBS_DISABLENOSCROLL
|
LBS_NOINTEGRALHEIGHT
|
LBS_OWNERDRAWFIXED
|
LBS_NOTIFY
,
0
,
0
,
0
,
0
,
parent
,
(
HMENU
)
id
,
Globals
.
hInstance
,
0
);
LBS_DISABLENOSCROLL
|
LBS_NOINTEGRALHEIGHT
|
LBS_OWNERDRAWFIXED
|
LBS_NOTIFY
,
0
,
0
,
0
,
0
,
parent
,
(
HMENU
)
ULongToHandle
(
id
)
,
Globals
.
hInstance
,
0
);
SetWindowLongPtr
(
pane
->
hwnd
,
GWLP_USERDATA
,
(
LPARAM
)
pane
);
g_orgTreeWndProc
=
(
WNDPROC
)
SetWindowLongPtr
(
pane
->
hwnd
,
GWLP_WNDPROC
,
(
LPARAM
)
TreeWndProc
);
...
...
@@ -3936,7 +3936,7 @@ static BOOL launch_file(HWND hwnd, LPCTSTR cmd, UINT nCmdShow)
{
HINSTANCE
hinst
=
ShellExecute
(
hwnd
,
NULL
/*operation*/
,
cmd
,
NULL
/*parameters*/
,
NULL
/*dir*/
,
nCmdShow
);
if
(
(
int
)
hinst
<=
32
)
{
if
(
PtrToUlong
(
hinst
)
<=
32
)
{
display_error
(
hwnd
,
GetLastError
());
return
FALSE
;
}
...
...
@@ -4780,7 +4780,7 @@ static void show_frame(HWND hwndParent, int cmdshow, LPCTSTR path)
/* create main window */
Globals
.
hMainWnd
=
CreateWindowEx
(
0
,
(
LPCTSTR
)(
int
)
Globals
.
hframeClass
,
RS
(
b1
,
IDS_WINE_FILE
),
WS_OVERLAPPEDWINDOW
,
Globals
.
hMainWnd
=
CreateWindowEx
(
0
,
MAKEINTRESOURCE
(
Globals
.
hframeClass
)
,
RS
(
b1
,
IDS_WINE_FILE
),
WS_OVERLAPPEDWINDOW
,
opts
.
start_x
,
opts
.
start_y
,
opts
.
width
,
opts
.
height
,
hwndParent
,
Globals
.
hMenuFrame
,
Globals
.
hInstance
,
0
/*lpParam*/
);
...
...
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