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
bb06ec77
Commit
bb06ec77
authored
Mar 08, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 08, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Use CopyBindInfo in InternetBindInfo_GetBindInfo.
parent
058b9dfb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
13 deletions
+8
-13
binding.c
dlls/urlmon/binding.c
+1
-13
url.c
dlls/urlmon/tests/url.c
+5
-0
urlmon_main.h
dlls/urlmon/urlmon_main.h
+2
-0
No files found.
dlls/urlmon/binding.c
View file @
bb06ec77
...
...
@@ -1150,19 +1150,7 @@ static HRESULT WINAPI InternetBindInfo_GetBindInfo(IInternetBindInfo *iface,
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
grfBINDF
,
pbindinfo
);
*
grfBINDF
=
This
->
bindf
;
*
pbindinfo
=
This
->
bindinfo
;
if
(
pbindinfo
->
szExtraInfo
||
pbindinfo
->
szCustomVerb
)
FIXME
(
"copy strings
\n
"
);
if
(
pbindinfo
->
stgmedData
.
pUnkForRelease
)
IUnknown_AddRef
(
pbindinfo
->
stgmedData
.
pUnkForRelease
);
if
(
pbindinfo
->
pUnk
)
IUnknown_AddRef
(
pbindinfo
->
pUnk
);
return
S_OK
;
return
CopyBindInfo
(
&
This
->
bindinfo
,
pbindinfo
);
}
static
HRESULT
WINAPI
InternetBindInfo_GetBindString
(
IInternetBindInfo
*
iface
,
...
...
dlls/urlmon/tests/url.c
View file @
bb06ec77
...
...
@@ -641,6 +641,11 @@ static HRESULT WINAPI Protocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
}
memset
(
&
bindinfo
,
0
,
sizeof
(
bindinfo
));
bindinfo
.
cbSize
=
0
;
hres
=
IInternetBindInfo_GetBindInfo
(
pOIBindInfo
,
&
bind_info
,
&
bindinfo
);
ok
(
hres
==
E_INVALIDARG
,
"GetBindInfo returned: %08x, expected E_INVALIDARG
\n
"
,
hres
);
memset
(
&
bindinfo
,
0
,
sizeof
(
bindinfo
));
bindinfo
.
cbSize
=
sizeof
(
bindinfo
);
hres
=
IInternetBindInfo_GetBindInfo
(
pOIBindInfo
,
&
bind_info
,
&
bindinfo
);
ok
(
hres
==
S_OK
,
"GetBindInfo failed: %08x
\n
"
,
hres
);
...
...
dlls/urlmon/urlmon_main.h
View file @
bb06ec77
...
...
@@ -79,6 +79,8 @@ HRESULT bind_to_object(IMoniker*,IUri*,IBindCtx*,REFIID,void**ppv) DECLSPEC_HIDD
HRESULT
create_default_callback
(
IBindStatusCallback
**
)
DECLSPEC_HIDDEN
;
HRESULT
wrap_callback
(
IBindStatusCallback
*
,
IBindStatusCallback
**
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
CopyBindInfo
(
const
BINDINFO
*
pcbiSrc
,
BINDINFO
*
pcbiDest
)
DECLSPEC_HIDDEN
;
typedef
struct
ProtocolVtbl
ProtocolVtbl
;
typedef
struct
{
...
...
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