ole32: Call the object's own IOleObject_GetUserType() if the object is running.
This commit is contained in:
parent
f2cf617f00
commit
5ba96d7ae1
|
@ -689,6 +689,8 @@ static HRESULT WINAPI DefaultHandler_GetUserType(
|
|||
DefaultHandler *This = impl_from_IOleObject(iface);
|
||||
|
||||
TRACE("(%p, %d, %p)\n", iface, dwFormOfType, pszUserType);
|
||||
if (object_is_running(This))
|
||||
return IOleObject_GetUserType(This->pOleDelegate, dwFormOfType, pszUserType);
|
||||
|
||||
return OleRegGetUserType(&This->clsid, dwFormOfType, pszUserType);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue