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
d8acdcc2
Commit
d8acdcc2
authored
Nov 02, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Nov 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
url: Fix prototype of FileProtocolHandlerA.
parent
f49880c6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
url.spec
dlls/url/url.spec
+2
-2
url_main.c
dlls/url/url_main.c
+4
-2
No files found.
dlls/url/url.spec
View file @
d8acdcc2
...
...
@@ -4,8 +4,8 @@
@ stub DllGetClassObject
@ stub DummyEntryPoint
@ stub DummyEntryPointA
@ stdcall FileProtocolHandler(long str long) FileProtocolHandlerA
@ stdcall FileProtocolHandlerA(long str long)
@ stdcall FileProtocolHandler(long
ptr
str long) FileProtocolHandlerA
@ stdcall FileProtocolHandlerA(long
ptr
str long)
@ stdcall InetIsOffline(long)
@ stub MIMEAssociationDialogA
@ stub MIMEAssociationDialogW
...
...
dlls/url/url_main.c
View file @
d8acdcc2
...
...
@@ -61,17 +61,19 @@ BOOL WINAPI InetIsOffline(DWORD flags)
* Handles a URL given to it and executes it.
*
* HWND hWnd - Parent Window
* HINSTANCE hInst - ignored
* LPCSTR pszUrl - The URL that needs to be handled
* int nShowCmd - How to display the operation.
*/
HRESULT
WINAPI
FileProtocolHandlerA
(
HWND
hWnd
,
LPCSTR
pszUrl
,
int
nShowCmd
)
HRESULT
WINAPI
FileProtocolHandlerA
(
HWND
hWnd
,
HINSTANCE
hInst
,
LPCSTR
pszUrl
,
int
nShowCmd
)
{
CHAR
pszPath
[
MAX_PATH
];
DWORD
size
=
MAX_PATH
;
HRESULT
createpath
=
PathCreateFromUrlA
(
pszUrl
,
pszPath
,
&
size
,
0
);
TRACE
(
"(%p, %
p, %d)
\n
"
,
hWnd
,
pszUrl
,
nShowCmd
);
TRACE
(
"(%p, %
s, %d)
\n
"
,
hWnd
,
debugstr_a
(
pszUrl
)
,
nShowCmd
);
if
(
createpath
!=
S_OK
)
return
E_FAIL
;
...
...
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