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
f5ea78f6
Commit
f5ea78f6
authored
Oct 17, 2013
by
Piotr Caban
Committed by
Alexandre Julliard
Oct 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
url: Add support for http protocol handling in FileProtocolHandlerA.
parent
bd5b865f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
url_main.c
dlls/url/url_main.c
+2
-8
No files found.
dlls/url/url_main.c
View file @
f5ea78f6
...
...
@@ -88,8 +88,7 @@ BOOL WINAPI InetIsOffline(DWORD flags)
* int nShowCmd - How to display the operation.
*/
HRESULT
WINAPI
FileProtocolHandlerA
(
HWND
hWnd
,
HINSTANCE
hInst
,
LPCSTR
pszUrl
,
int
nShowCmd
)
void
WINAPI
FileProtocolHandlerA
(
HWND
hWnd
,
HINSTANCE
hInst
,
LPCSTR
pszUrl
,
int
nShowCmd
)
{
CHAR
pszPath
[
MAX_PATH
];
DWORD
size
=
MAX_PATH
;
...
...
@@ -97,12 +96,7 @@ HRESULT WINAPI FileProtocolHandlerA(HWND hWnd, HINSTANCE hInst, LPCSTR pszUrl,
TRACE
(
"(%p, %s, %d)
\n
"
,
hWnd
,
debugstr_a
(
pszUrl
),
nShowCmd
);
if
(
createpath
!=
S_OK
)
return
E_FAIL
;
ShellExecuteA
(
hWnd
,
NULL
,
pszPath
,
NULL
,
NULL
,
nShowCmd
);
return
S_OK
;
ShellExecuteA
(
hWnd
,
NULL
,
createpath
==
S_OK
?
pszPath
:
pszUrl
,
NULL
,
NULL
,
nShowCmd
);
}
/***********************************************************************
...
...
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