ix test for STGM_SHARE_EXCLUSIVE on nameless DocFiles.
This commit is contained in:
parent
3a4eaa2b05
commit
963b63ecbd
|
@ -5486,7 +5486,7 @@ HRESULT WINAPI StgCreateDocfile(
|
|||
WCHAR tempPath[MAX_PATH];
|
||||
static const WCHAR prefix[] = { 'S', 'T', 'O', 0 };
|
||||
|
||||
if (STGM_SHARE_MODE(grfMode) == STGM_SHARE_EXCLUSIVE)
|
||||
if (STGM_SHARE_MODE(grfMode) != STGM_SHARE_EXCLUSIVE)
|
||||
goto end;
|
||||
|
||||
memset(tempPath, 0, sizeof(tempPath));
|
||||
|
|
Loading…
Reference in New Issue