June 2, 2026
7:28 p.m.
On Tue Jun 2 19:13:58 2026 +0000, Esme Povirk wrote:
I was thinking something like: ``` DWORD createMode = STGM_WRITE | STGM_SHARE_EXCLUSIVE; if (mode == STGMOVE_MOVE) createMode |= STGM_FAILIFTHERE; ... hr = IStorage_CreateStream(dest, new_name, createMode, 0, 0, &dst); ``` But if there's something I'm missing that makes it more complicated than that, we can use the extra call. Thanks for the suggestion, however it doesn't seem to make the tests pass. Adding STGM_CREATE didn't help either.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/11054#note_142031