OLE32: Allow STGM_SHARE_EXCLUSIVE for nameless storage files
Mike McCormack
mike at codeweavers.com
Fri Mar 18 01:26:22 CST 2005
Actually, I think the test is just the wrong way round. It should read
if (STGM_SHARE_MODE(grfMode) != STGM_SHARE_EXCLUSIVE)
I screwed it up in the following commit:
http://cvs.winehq.org/cvsweb/wine/dlls/ole32/storage32.c.diff?r1=1.71&r2=1.72&f=h
Mike
Troy Rollo wrote:
> StgOpenStorage was failing if pwcsName was NULL and the share flags were
> STGM_SHARE_EXCLUSIVE. It shouldn't (Windows allows this).
>
> ChangeLog:
> Allow STGM_SHARE_EXCLUSIVE for StgOpenStorage with pwcsName == NULL
> - if (STGM_SHARE_MODE(grfMode) == STGM_SHARE_EXCLUSIVE)
> - goto end;
> -
More information about the wine-devel
mailing list