Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
82a199bc
Commit
82a199bc
authored
Dec 24, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 24, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use IBindCtx passed to Load in BindToStorage call.
parent
d067fabd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
10 deletions
+14
-10
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-1
navigate.c
dlls/mshtml/navigate.c
+11
-7
persist.c
dlls/mshtml/persist.c
+1
-1
task.c
dlls/mshtml/task.c
+1
-1
No files found.
dlls/mshtml/mshtml_private.h
View file @
82a199bc
...
...
@@ -425,7 +425,7 @@ void init_nsevents(NSContainer*);
nsresult
get_nsinterface
(
nsISupports
*
,
REFIID
,
void
**
);
BSCallback
*
create_bscallback
(
IMoniker
*
);
HRESULT
start_binding
(
HTMLDocument
*
,
BSCallback
*
);
HRESULT
start_binding
(
HTMLDocument
*
,
BSCallback
*
,
IBindCtx
*
);
HRESULT
load_stream
(
BSCallback
*
,
IStream
*
);
void
set_document_bscallback
(
HTMLDocument
*
,
BSCallback
*
);
void
set_current_mon
(
HTMLDocument
*
,
IMoniker
*
);
...
...
dlls/mshtml/navigate.c
View file @
82a199bc
...
...
@@ -829,20 +829,24 @@ void hlink_frame_navigate(HTMLDocument *doc, IHlinkFrame *hlink_frame,
IBindStatusCallback_Release
(
STATUSCLB
(
callback
));
}
HRESULT
start_binding
(
HTMLDocument
*
doc
,
BSCallback
*
bscallback
)
HRESULT
start_binding
(
HTMLDocument
*
doc
,
BSCallback
*
bscallback
,
IBindCtx
*
bctx
)
{
IStream
*
str
=
NULL
;
IBindCtx
*
bctx
;
HRESULT
hres
;
bscallback
->
doc
=
doc
;
call_docview_84
(
bscallback
->
doc
);
hres
=
CreateAsyncBindCtx
(
0
,
STATUSCLB
(
bscallback
),
NULL
,
&
bctx
);
if
(
FAILED
(
hres
))
{
WARN
(
"CreateAsyncBindCtx failed: %08x
\n
"
,
hres
);
on_stop_nsrequest
(
bscallback
);
return
hres
;
if
(
bctx
)
{
RegisterBindStatusCallback
(
bctx
,
STATUSCLB
(
bscallback
),
NULL
,
0
);
IBindCtx_AddRef
(
bctx
);
}
else
{
hres
=
CreateAsyncBindCtx
(
0
,
STATUSCLB
(
bscallback
),
NULL
,
&
bctx
);
if
(
FAILED
(
hres
))
{
WARN
(
"CreateAsyncBindCtx failed: %08x
\n
"
,
hres
);
on_stop_nsrequest
(
bscallback
);
return
hres
;
}
}
hres
=
IMoniker_BindToStorage
(
bscallback
->
mon
,
bctx
,
NULL
,
&
IID_IStream
,
(
void
**
)
&
str
);
...
...
dlls/mshtml/persist.c
View file @
82a199bc
...
...
@@ -429,7 +429,7 @@ static HRESULT WINAPI PersistMoniker_Load(IPersistMoniker *iface, BOOL fFullyAva
return
hres
;
if
(
!
bind_complete
)
return
start_binding
(
This
,
This
->
bscallback
);
return
start_binding
(
This
,
This
->
bscallback
,
pibc
);
return
S_OK
;
}
...
...
dlls/mshtml/task.c
View file @
82a199bc
...
...
@@ -214,7 +214,7 @@ static void set_progress(HTMLDocument *doc)
static
void
task_start_binding
(
HTMLDocument
*
doc
,
BSCallback
*
bscallback
)
{
if
(
doc
)
start_binding
(
doc
,
bscallback
);
start_binding
(
doc
,
bscallback
,
NULL
);
IBindStatusCallback_Release
(
STATUSCLB
(
bscallback
));
}
...
...
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