ole32: Call the object's GetClassID if it's running.
This commit is contained in:
parent
8d1d6a2822
commit
5937ddd403
|
@ -1520,9 +1520,17 @@ static HRESULT WINAPI DefaultHandler_IPersistStorage_GetClassID(
|
|||
IPersistStorage* iface,
|
||||
CLSID* clsid)
|
||||
{
|
||||
DefaultHandler *This = impl_from_IPersistStorage(iface);
|
||||
DefaultHandler *This = impl_from_IPersistStorage(iface);
|
||||
HRESULT hr;
|
||||
|
||||
return IPersistStorage_GetClassID(This->dataCache_PersistStg, clsid);
|
||||
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 hr;
|
||||
}
|
||||
|
||||
/************************************************************************
|
||||
|
|
Loading…
Reference in New Issue