Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zsolt Vadász
wine
Commits
c448968b
Commit
c448968b
authored
19 years ago
by
Jacek Caban
Committed by
Alexandre Julliard
19 years ago
Browse files
Options
Downloads
Patches
Plain Diff
urlmon: Added GetBindInfoString implementation.
parent
d8e98fe6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/urlmon/binding.c
+33
-1
33 additions, 1 deletion
dlls/urlmon/binding.c
with
33 additions
and
1 deletion
dlls/urlmon/binding.c
+
33
−
1
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
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment