[PATCH v3 4/5] ole32: Reset CLSID of datacache so that automatic entry is re-created on load.
Huw Davies
huw at codeweavers.com
Thu Apr 5 14:00:10 CDT 2018
> On 5 Apr 2018, at 14:05, Sergio Gómez Del Real <sdelreal at codeweavers.com> wrote:
>
> Signed-off-by: Sergio Gómez Del Real <sdelreal at codeweavers.com>
> ---
> dlls/ole32/datacache.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/dlls/ole32/datacache.c b/dlls/ole32/datacache.c
> index 1967f9dec0..fbf8b2dde1 100644
> --- a/dlls/ole32/datacache.c
> +++ b/dlls/ole32/datacache.c
> @@ -1838,6 +1838,7 @@ static HRESULT WINAPI DataCache_Load( IPersistStorage *iface, IStorage *stg )
>
> LIST_FOR_EACH_ENTRY_SAFE( entry, cursor2, &This->cache_list, DataCacheEntry, entry )
> DataCacheEntry_Destroy( This, entry );
> + This->clsid = CLSID_NULL;
>
> ReadClassStg( stg, &clsid );
> hr = create_automatic_entry( This, &clsid );
Looks good.
Huw.
More information about the wine-devel
mailing list