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
c448968b
Commit
c448968b
authored
Jan 05, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 05, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Added GetBindInfoString implementation.
parent
d8e98fe6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
1 deletion
+33
-1
binding.c
dlls/urlmon/binding.c
+33
-1
No files found.
dlls/urlmon/binding.c
View file @
c448968b
...
...
@@ -351,7 +351,39 @@ static HRESULT WINAPI InternetBindInfo_GetBindString(IInternetBindInfo *iface,
ULONG
ulStringType
,
LPOLESTR
*
ppwzStr
,
ULONG
cEl
,
ULONG
*
pcElFetched
)
{
Binding
*
This
=
BINDINF_THIS
(
iface
);
FIXME
(
"(%p)->(%ld %p %ld %p)
\n
"
,
This
,
ulStringType
,
ppwzStr
,
cEl
,
pcElFetched
);
TRACE
(
"(%p)->(%ld %p %ld %p)
\n
"
,
This
,
ulStringType
,
ppwzStr
,
cEl
,
pcElFetched
);
switch
(
ulStringType
)
{
case
BINDSTRING_ACCEPT_MIMES
:
{
static
const
WCHAR
wszMimes
[]
=
{
'*'
,
'/'
,
'*'
,
0
};
if
(
!
ppwzStr
||
!
pcElFetched
)
return
E_INVALIDARG
;
ppwzStr
[
0
]
=
CoTaskMemAlloc
(
sizeof
(
wszMimes
));
memcpy
(
ppwzStr
[
0
],
wszMimes
,
sizeof
(
wszMimes
));
*
pcElFetched
=
1
;
return
S_OK
;
}
case
BINDSTRING_USER_AGENT
:
{
IInternetBindInfo
*
bindinfo
=
NULL
;
HRESULT
hres
;
hres
=
IBindStatusCallback_QueryInterface
(
This
->
callback
,
&
IID_IInternetBindInfo
,
(
void
**
)
&
bindinfo
);
if
(
FAILED
(
hres
))
return
hres
;
hres
=
IInternetBindInfo_GetBindString
(
bindinfo
,
ulStringType
,
ppwzStr
,
cEl
,
pcElFetched
);
IInternetBindInfo_Release
(
bindinfo
);
return
hres
;
}
}
FIXME
(
"not supported string type %ld
\n
"
,
ulStringType
);
return
E_NOTIMPL
;
}
...
...
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