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
6a9b4d16
Commit
6a9b4d16
authored
Dec 29, 2015
by
Jared Smudde
Committed by
Alexandre Julliard
Dec 30, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winefile: Use own icon in run dialog.
Signed-off-by:
Jared Smudde
<
computerwhiz02@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b33fab40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
winefile.c
programs/winefile/winefile.c
+2
-1
No files found.
programs/winefile/winefile.c
View file @
6a9b4d16
...
...
@@ -1634,9 +1634,10 @@ static void WineFile_OnRun( HWND hwnd )
static
const
WCHAR
shell32_dll
[]
=
{
'S'
,
'H'
,
'E'
,
'L'
,
'L'
,
'3'
,
'2'
,
'.'
,
'D'
,
'L'
,
'L'
,
0
};
void
(
WINAPI
*
pRunFileDlgAW
)(
HWND
,
HICON
,
LPWSTR
,
LPWSTR
,
LPWSTR
,
DWORD
);
HMODULE
hshell
=
GetModuleHandleW
(
shell32_dll
);
HICON
hIcon
=
LoadIconW
(
Globals
.
hInstance
,
MAKEINTRESOURCEW
(
IDI_WINEFILE
));
pRunFileDlgAW
=
(
void
*
)
GetProcAddress
(
hshell
,
(
LPCSTR
)
61
);
if
(
pRunFileDlgAW
)
pRunFileDlgAW
(
hwnd
,
0
,
NULL
,
NULL
,
NULL
,
RFF_NODEFAULT
);
if
(
pRunFileDlgAW
)
pRunFileDlgAW
(
hwnd
,
hIcon
,
NULL
,
NULL
,
NULL
,
RFF_NODEFAULT
);
}
static
INT_PTR
CALLBACK
DestinationDlgProc
(
HWND
hwnd
,
UINT
nmsg
,
WPARAM
wparam
,
LPARAM
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