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
55b3a6e5
Commit
55b3a6e5
authored
Nov 30, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Dec 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Don't use ancestorStorage to decide if a storage is transacted.
parent
1a12141d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
storage32.c
dlls/ole32/storage32.c
+3
-3
No files found.
dlls/ole32/storage32.c
View file @
55b3a6e5
...
...
@@ -435,7 +435,7 @@ static HRESULT WINAPI StorageBaseImpl_OpenStream(
* Check that we're compatible with the parent's storage mode, but
* only if we are not in transacted mode
*/
if
(
!
(
This
->
ancestorStorage
->
base
.
openFlags
&
STGM_TRANSACTED
))
{
if
(
!
(
This
->
openFlags
&
STGM_TRANSACTED
))
{
if
(
STGM_ACCESS_MODE
(
grfMode
)
>
STGM_ACCESS_MODE
(
This
->
openFlags
)
)
{
res
=
STG_E_ACCESSDENIED
;
...
...
@@ -560,7 +560,7 @@ static HRESULT WINAPI StorageBaseImpl_OpenStorage(
* Check that we're compatible with the parent's storage mode,
* but only if we are not transacted
*/
if
(
!
(
This
->
ancestorStorage
->
base
.
openFlags
&
STGM_TRANSACTED
))
{
if
(
!
(
This
->
openFlags
&
STGM_TRANSACTED
))
{
if
(
STGM_ACCESS_MODE
(
grfMode
)
>
STGM_ACCESS_MODE
(
This
->
openFlags
)
)
{
res
=
STG_E_ACCESSDENIED
;
...
...
@@ -848,7 +848,7 @@ static HRESULT WINAPI StorageBaseImpl_CreateStream(
* Check that we're compatible with the parent's storage mode
* if not in transacted mode
*/
if
(
!
(
This
->
ancestorStorage
->
base
.
openFlags
&
STGM_TRANSACTED
))
{
if
(
!
(
This
->
openFlags
&
STGM_TRANSACTED
))
{
if
(
STGM_ACCESS_MODE
(
grfMode
)
>
STGM_ACCESS_MODE
(
This
->
openFlags
)
)
return
STG_E_ACCESSDENIED
;
}
...
...
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