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
f79771cb
Commit
f79771cb
authored
Jan 03, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Added OnProgress implementation.
parent
6f1c3f36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
1 deletion
+27
-1
navigate.c
dlls/shdocvw/navigate.c
+27
-1
No files found.
dlls/shdocvw/navigate.c
View file @
f79771cb
...
...
@@ -90,6 +90,14 @@ static void dump_BINDINFO(BINDINFO *bi)
);
}
static
void
set_status_text
(
BindStatusCallback
*
This
,
LPCWSTR
str
)
{
if
(
!
This
->
doc_host
||
!
This
->
doc_host
->
frame
)
return
;
IOleInPlaceFrame_SetStatusText
(
This
->
doc_host
->
frame
,
str
);
}
#define BINDSC_THIS(iface) DEFINE_THIS(BindStatusCallback, BindStatusCallback, iface)
static
HRESULT
WINAPI
BindStatusCallback_QueryInterface
(
IBindStatusCallback
*
iface
,
...
...
@@ -178,8 +186,26 @@ static HRESULT WINAPI BindStatusCallback_OnProgress(IBindStatusCallback *iface,
ULONG
ulProgress
,
ULONG
ulProgressMax
,
ULONG
ulStatusCode
,
LPCWSTR
szStatusText
)
{
BindStatusCallback
*
This
=
BINDSC_THIS
(
iface
);
FIXME
(
"(%p)->(%d %d %d %s)
\n
"
,
This
,
ulProgress
,
ulProgressMax
,
ulStatusCode
,
TRACE
(
"(%p)->(%d %d %d %s)
\n
"
,
This
,
ulProgress
,
ulProgressMax
,
ulStatusCode
,
debugstr_w
(
szStatusText
));
switch
(
ulStatusCode
)
{
case
BINDSTATUS_BEGINDOWNLOADDATA
:
set_status_text
(
This
,
szStatusText
);
/* FIXME: "Start downloading from site: %s" */
return
S_OK
;
case
BINDSTATUS_ENDDOWNLOADDATA
:
set_status_text
(
This
,
szStatusText
);
/* FIXME: "Downloading from site: %s" */
return
S_OK
;
case
BINDSTATUS_CLASSIDAVAILABLE
:
case
BINDSTATUS_MIMETYPEAVAILABLE
:
case
BINDSTATUS_BEGINSYNCOPERATION
:
case
BINDSTATUS_ENDSYNCOPERATION
:
return
S_OK
;
default:
FIXME
(
"status code %u
\n
"
,
ulStatusCode
);
}
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