Troy Rollo : ole32:
Use STGM_WRITE when opening child storage to delete its children.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed May 31 05:31:32 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: bdbc482651bebc944947528f48b11ce5238f9954
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=bdbc482651bebc944947528f48b11ce5238f9954
Author: Troy Rollo <wine at troy.rollo.name>
Date: Wed May 31 12:35:53 2006 +1000
ole32: Use STGM_WRITE when opening child storage to delete its children.
---
dlls/ole32/storage32.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c
index d5e70e5..4232edf 100644
--- a/dlls/ole32/storage32.c
+++ b/dlls/ole32/storage32.c
@@ -1867,7 +1867,7 @@ static HRESULT deleteStorageProperty(
(IStorage*)parentStorage,
propertyToDelete.name,
0,
- STGM_SHARE_EXCLUSIVE,
+ STGM_WRITE | STGM_SHARE_EXCLUSIVE,
0,
0,
&childStorage);
More information about the wine-cvs
mailing list