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
16dd03ba
Commit
16dd03ba
authored
Jul 29, 2010
by
Thomas Mullaly
Committed by
Alexandre Julliard
Aug 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Implemented IUri_GetAbsoluteUri.
parent
dcd2b994
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
7 deletions
+15
-7
uri.c
dlls/urlmon/tests/uri.c
+0
-0
uri.c
dlls/urlmon/uri.c
+15
-7
No files found.
dlls/urlmon/tests/uri.c
View file @
16dd03ba
This diff is collapsed.
Click to expand it.
dlls/urlmon/uri.c
View file @
16dd03ba
...
...
@@ -3034,6 +3034,15 @@ static HRESULT WINAPI Uri_GetPropertyBSTR(IUri *iface, Uri_PROPERTY uriProp, BST
}
switch
(
uriProp
)
{
case
Uri_PROPERTY_ABSOLUTE_URI
:
*
pbstrProperty
=
SysAllocString
(
This
->
canon_uri
);
if
(
!
(
*
pbstrProperty
))
hres
=
E_OUTOFMEMORY
;
else
hres
=
S_OK
;
break
;
case
Uri_PROPERTY_AUTHORITY
:
if
(
This
->
authority_start
>
-
1
)
{
*
pbstrProperty
=
SysAllocStringLen
(
This
->
canon_uri
+
This
->
authority_start
,
This
->
authority_len
);
...
...
@@ -3245,6 +3254,10 @@ static HRESULT WINAPI Uri_GetPropertyLength(IUri *iface, Uri_PROPERTY uriProp, D
}
switch
(
uriProp
)
{
case
Uri_PROPERTY_ABSOLUTE_URI
:
*
pcchProperty
=
This
->
canon_len
;
hres
=
S_OK
;
break
;
case
Uri_PROPERTY_AUTHORITY
:
*
pcchProperty
=
This
->
authority_len
;
hres
=
(
This
->
authority_start
>
-
1
)
?
S_OK
:
S_FALSE
;
...
...
@@ -3385,13 +3398,8 @@ static HRESULT WINAPI Uri_HasProperty(IUri *iface, Uri_PROPERTY uriProp, BOOL *p
static
HRESULT
WINAPI
Uri_GetAbsoluteUri
(
IUri
*
iface
,
BSTR
*
pstrAbsoluteUri
)
{
Uri
*
This
=
URI_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pstrAbsoluteUri
);
if
(
!
pstrAbsoluteUri
)
return
E_POINTER
;
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
iface
,
pstrAbsoluteUri
);
return
Uri_GetPropertyBSTR
(
iface
,
Uri_PROPERTY_ABSOLUTE_URI
,
pstrAbsoluteUri
,
0
);
}
static
HRESULT
WINAPI
Uri_GetAuthority
(
IUri
*
iface
,
BSTR
*
pstrAuthority
)
...
...
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