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
9f41866e
Commit
9f41866e
authored
Jul 12, 2010
by
Thomas Mullaly
Committed by
Alexandre Julliard
Aug 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Implemented IUri_GetHostType.
parent
b9655344
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
uri.c
dlls/urlmon/tests/uri.c
+0
-0
uri.c
dlls/urlmon/uri.c
+12
-11
No files found.
dlls/urlmon/tests/uri.c
View file @
9f41866e
This diff is collapsed.
Click to expand it.
dlls/urlmon/uri.c
View file @
9f41866e
...
...
@@ -1902,8 +1902,9 @@ static BOOL canonicalize_host(const parse_data *data, Uri *uri, DWORD flags, BOO
uri
->
host_type
=
Uri_HOST_UNKNOWN
;
break
;
default:
WARN
(
"(%p %p %x %d): Canonicalization not supported yet
\n
"
,
data
,
uri
,
flags
,
computeOnly
);
FIXME
(
"(%p %p %x %d): Canonicalization for host type %d not supported.
\n
"
,
data
,
uri
,
flags
,
computeOnly
,
data
->
host_type
);
return
FALSE
;
}
}
...
...
@@ -2020,6 +2021,7 @@ static BOOL canonicalize_hierpart(const parse_data *data, Uri *uri, DWORD flags,
uri
->
userinfo_len
=
0
;
uri
->
host_start
=
-
1
;
uri
->
host_len
=
0
;
uri
->
host_type
=
Uri_HOST_UNKNOWN
;
uri
->
has_port
=
FALSE
;
}
...
...
@@ -2398,8 +2400,8 @@ static HRESULT WINAPI Uri_GetPropertyDWORD(IUri *iface, Uri_PROPERTY uriProp, DW
}
switch
(
uriProp
)
{
case
Uri_PROPERTY_
SCHEM
E
:
*
pcchProperty
=
This
->
scheme
_type
;
case
Uri_PROPERTY_
HOST_TYP
E
:
*
pcchProperty
=
This
->
host
_type
;
hres
=
S_OK
;
break
;
case
Uri_PROPERTY_PORT
:
...
...
@@ -2412,6 +2414,10 @@ static HRESULT WINAPI Uri_GetPropertyDWORD(IUri *iface, Uri_PROPERTY uriProp, DW
}
break
;
case
Uri_PROPERTY_SCHEME
:
*
pcchProperty
=
This
->
scheme_type
;
hres
=
S_OK
;
break
;
default:
FIXME
(
"(%p)->(%d %p %x)
\n
"
,
This
,
uriProp
,
pcchProperty
,
dwFlags
);
hres
=
E_NOTIMPL
;
...
...
@@ -2572,13 +2578,8 @@ static HRESULT WINAPI Uri_GetUserName(IUri *iface, BSTR *pstrUserName)
static
HRESULT
WINAPI
Uri_GetHostType
(
IUri
*
iface
,
DWORD
*
pdwHostType
)
{
Uri
*
This
=
URI_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pdwHostType
);
if
(
!
pdwHostType
)
return
E_INVALIDARG
;
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
iface
,
pdwHostType
);
return
Uri_GetPropertyDWORD
(
iface
,
Uri_PROPERTY_HOST_TYPE
,
pdwHostType
,
0
);
}
static
HRESULT
WINAPI
Uri_GetPort
(
IUri
*
iface
,
DWORD
*
pdwPort
)
...
...
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