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
72f82c04
Commit
72f82c04
authored
Oct 20, 2008
by
Huw Davies
Committed by
Alexandre Julliard
Oct 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Call the object's IPersistStorage_Save() if the object is running.
parent
5b152076
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
defaulthandler.c
dlls/ole32/defaulthandler.c
+10
-3
No files found.
dlls/ole32/defaulthandler.c
View file @
72f82c04
...
...
@@ -1572,11 +1572,18 @@ static HRESULT WINAPI DefaultHandler_IPersistStorage_Load(
static
HRESULT
WINAPI
DefaultHandler_IPersistStorage_Save
(
IPersistStorage
*
iface
,
IStorage
*
pStgSave
,
BOOL
fSa
v
eAsLoad
)
BOOL
fSa
m
eAsLoad
)
{
DefaultHandler
*
This
=
impl_from_IPersistStorage
(
iface
);
DefaultHandler
*
This
=
impl_from_IPersistStorage
(
iface
);
HRESULT
hr
;
TRACE
(
"(%p)->(%p, %d)
\n
"
,
iface
,
pStgSave
,
fSameAsLoad
);
return
IPersistStorage_Save
(
This
->
dataCache_PersistStg
,
pStgSave
,
fSaveAsLoad
);
hr
=
IPersistStorage_Save
(
This
->
dataCache_PersistStg
,
pStgSave
,
fSameAsLoad
);
if
(
SUCCEEDED
(
hr
)
&&
object_is_running
(
This
))
hr
=
IPersistStorage_Save
(
This
->
pPSDelegate
,
pStgSave
,
fSameAsLoad
);
return
hr
;
}
...
...
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