ole32: Check the cache entry's stgmedium for the unloaded state.
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6bfbbb6bcf
commit
f9b0f60ae3
|
@ -929,7 +929,7 @@ static HRESULT DataCacheEntry_SetData(DataCacheEntry *cache_entry,
|
|||
|
||||
static HRESULT DataCacheEntry_GetData(DataCacheEntry *cache_entry, STGMEDIUM *stgmedium)
|
||||
{
|
||||
if (stgmedium->tymed == TYMED_NULL && cache_entry->stream)
|
||||
if (cache_entry->stgmedium.tymed == TYMED_NULL && cache_entry->stream)
|
||||
{
|
||||
HRESULT hr = DataCacheEntry_LoadData(cache_entry);
|
||||
if (FAILED(hr))
|
||||
|
|
Loading…
Reference in New Issue