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
d992bab7
Commit
d992bab7
authored
Jul 12, 2010
by
Thomas Mullaly
Committed by
Alexandre Julliard
Jul 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Implemented IUri_GetPort.
parent
4a88270c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
uri.c
dlls/urlmon/tests/uri.c
+0
-0
uri.c
dlls/urlmon/uri.c
+13
-7
No files found.
dlls/urlmon/tests/uri.c
View file @
d992bab7
This diff is collapsed.
Click to expand it.
dlls/urlmon/uri.c
View file @
d992bab7
...
...
@@ -2020,6 +2020,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
->
has_port
=
FALSE
;
}
return
TRUE
;
...
...
@@ -2401,6 +2402,16 @@ static HRESULT WINAPI Uri_GetPropertyDWORD(IUri *iface, Uri_PROPERTY uriProp, DW
*
pcchProperty
=
This
->
scheme_type
;
hres
=
S_OK
;
break
;
case
Uri_PROPERTY_PORT
:
if
(
!
This
->
has_port
)
{
*
pcchProperty
=
0
;
hres
=
S_FALSE
;
}
else
{
*
pcchProperty
=
This
->
port
;
hres
=
S_OK
;
}
break
;
default:
FIXME
(
"(%p)->(%d %p %x)
\n
"
,
This
,
uriProp
,
pcchProperty
,
dwFlags
);
hres
=
E_NOTIMPL
;
...
...
@@ -2572,13 +2583,8 @@ static HRESULT WINAPI Uri_GetHostType(IUri *iface, DWORD *pdwHostType)
static
HRESULT
WINAPI
Uri_GetPort
(
IUri
*
iface
,
DWORD
*
pdwPort
)
{
Uri
*
This
=
URI_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pdwPort
);
if
(
!
pdwPort
)
return
E_INVALIDARG
;
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
iface
,
pdwPort
);
return
Uri_GetPropertyDWORD
(
iface
,
Uri_PROPERTY_PORT
,
pdwPort
,
0
);
}
static
HRESULT
WINAPI
Uri_GetScheme
(
IUri
*
iface
,
DWORD
*
pdwScheme
)
...
...
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