Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ba5fe46f
Commit
ba5fe46f
authored
Sep 09, 2004
by
James Hawkins
Committed by
Alexandre Julliard
Sep 09, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added stub for IsValidURL.
parent
3872fc39
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
1 deletion
+29
-1
urlmon.spec
dlls/urlmon/urlmon.spec
+1
-1
urlmon_main.c
dlls/urlmon/urlmon_main.c
+28
-0
No files found.
dlls/urlmon/urlmon.spec
View file @
ba5fe46f
...
...
@@ -46,7 +46,7 @@
@ stdcall IsAsyncMoniker(ptr)
@ stub IsLoggingEnabledA
@ stub IsLoggingEnabledW
@ st
ub IsValidURL
@ st
dcall IsValidURL(ptr wstr long)
@ stdcall MkParseDisplayNameEx(ptr ptr ptr ptr) ole32.MkParseDisplayName
@ stdcall ObtainUserAgentString(long str ptr)
@ stub PrivateCoInstall
...
...
dlls/urlmon/urlmon_main.c
View file @
ba5fe46f
...
...
@@ -142,3 +142,31 @@ HRESULT WINAPI CoInternetCompareUrl(LPCWSTR pwzUrl1, LPCWSTR pwzUrl2, DWORD dwCo
TRACE
(
"(%s,%s,%08lx)
\n
"
,
debugstr_w
(
pwzUrl1
),
debugstr_w
(
pwzUrl2
),
dwCompareFlags
);
return
UrlCompareW
(
pwzUrl1
,
pwzUrl2
,
dwCompareFlags
)
==
0
?
S_OK
:
S_FALSE
;
}
/**************************************************************************
* IsValidURL (URLMON.@)
*
* Determines if a specified string is a valid URL.
*
* PARAMS
* pBC [I] ignored, must be NULL.
* szURL [I] string that represents the URL in question.
* dwReserved [I] reserved and must be zero.
*
* RETURNS
* Success: S_OK.
* Failure: S_FALSE.
* returns E_INVALIDARG if one or more of the args is invalid.
*
* TODO:
* test functionality against windows to see what a valid URL is.
*/
HRESULT
WINAPI
IsValidURL
(
LPBC
pBC
,
LPCWSTR
szURL
,
DWORD
dwReserved
)
{
FIXME
(
"(%p, %s, %ld): stub
\n
"
,
pBC
,
debugstr_w
(
szURL
),
dwReserved
);
if
(
pBC
!=
NULL
||
dwReserved
!=
0
)
return
E_INVALIDARG
;
return
S_OK
;
}
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