Commit 5937ddd4 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

ole32: Call the object's GetClassID if it's running.

parent 8d1d6a28
......@@ -1521,8 +1521,16 @@ static HRESULT WINAPI DefaultHandler_IPersistStorage_GetClassID(
CLSID* clsid)
{
DefaultHandler *This = impl_from_IPersistStorage(iface);
HRESULT hr;
TRACE("(%p)->(%p)\n", iface, clsid);
if(object_is_running(This))
hr = IPersistStorage_GetClassID(This->pPSDelegate, clsid);
else
hr = IPersistStorage_GetClassID(This->dataCache_PersistStg, clsid);
return IPersistStorage_GetClassID(This->dataCache_PersistStg, clsid);
return hr;
}
/************************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment