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
0bc9e7d4
Commit
0bc9e7d4
authored
Sep 13, 2005
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 13, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added PARSE_SECURITY_DOMAIN action implementation.
parent
903e0b9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
1 deletion
+24
-1
internet.c
dlls/urlmon/internet.c
+24
-1
No files found.
dlls/urlmon/internet.c
View file @
0bc9e7d4
...
...
@@ -86,7 +86,7 @@ static IInternetProtocolInfo *get_protocol_info(LPCWSTR url)
res
=
RegOpenKeyW
(
HKEY_CLASSES_ROOT
,
wszKey
,
&
hkey
);
HeapFree
(
GetProcessHeap
(),
0
,
wszKey
);
if
(
res
!=
ERROR_SUCCESS
)
{
ERR
(
"Could not open key %s
\n
"
,
debugstr_w
(
wszProtocols
Key
));
TRACE
(
"Could not open key %s
\n
"
,
debugstr_w
(
wsz
Key
));
return
NULL
;
}
...
...
@@ -177,6 +177,27 @@ static HRESULT parse_path_from_url(LPCWSTR url, DWORD flags, LPWSTR result, DWOR
return
hres
;
}
static
HRESULT
parse_security_domain
(
LPCWSTR
url
,
DWORD
flags
,
LPWSTR
result
,
DWORD
size
,
DWORD
*
rsize
)
{
IInternetProtocolInfo
*
protocol_info
;
HRESULT
hres
;
TRACE
(
"(%s %08lx %p %ld %p)
\n
"
,
debugstr_w
(
url
),
flags
,
result
,
size
,
rsize
);
protocol_info
=
get_protocol_info
(
url
);
if
(
protocol_info
)
{
hres
=
IInternetProtocolInfo_ParseUrl
(
protocol_info
,
url
,
PARSE_SECURITY_DOMAIN
,
flags
,
result
,
size
,
rsize
,
0
);
if
(
SUCCEEDED
(
hres
))
return
hres
;
}
return
E_FAIL
;
}
HRESULT
WINAPI
CoInternetParseUrl
(
LPCWSTR
pwzUrl
,
PARSEACTION
ParseAction
,
DWORD
dwFlags
,
LPWSTR
pszResult
,
DWORD
cchResult
,
DWORD
*
pcchResult
,
DWORD
dwReserved
)
{
...
...
@@ -192,6 +213,8 @@ HRESULT WINAPI CoInternetParseUrl(LPCWSTR pwzUrl, PARSEACTION ParseAction, DWORD
return
parse_path_from_url
(
pwzUrl
,
dwFlags
,
pszResult
,
cchResult
,
pcchResult
);
case
PARSE_SCHEMA
:
return
parse_schema
(
pwzUrl
,
dwFlags
,
pszResult
,
cchResult
,
pcchResult
);
case
PARSE_SECURITY_DOMAIN
:
return
parse_security_domain
(
pwzUrl
,
dwFlags
,
pszResult
,
cchResult
,
pcchResult
);
default:
FIXME
(
"not supported action %d
\n
"
,
ParseAction
);
}
...
...
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