On Wed Aug 27 14:01:55 2025 +0000, Nikolay Sivov wrote:
Could we instead check for entry->stgmedium.hEnhMetaFile being null? And if it's null the next question is if we need to write anything at all to begin with.
we have [tests](https://gitlab.winehq.org/wine/wine/-/blob/master/dlls/ole32/tests/ole2.c?re...) that calls `IPersistStorage_Save` on data cache without calling `IOleCache2_SetData`. and those tests do check the data written IIUC. so the current behavior is correct besides the oob