Troy Rollo : ole32: Use STGM_WRITE when opening child storage to delete its children.
Module: wine Branch: refs/heads/master Commit: bdbc482651bebc944947528f48b11ce5238f9954 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=bdbc482651bebc944947528f... Author: Troy Rollo <wine(a)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);
participants (1)
-
Alexandre Julliard