Commit 5ba96d7a authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

ole32: Call the object's own IOleObject_GetUserType() if the object is running.

parent f2cf617f
...@@ -689,6 +689,8 @@ static HRESULT WINAPI DefaultHandler_GetUserType( ...@@ -689,6 +689,8 @@ static HRESULT WINAPI DefaultHandler_GetUserType(
DefaultHandler *This = impl_from_IOleObject(iface); DefaultHandler *This = impl_from_IOleObject(iface);
TRACE("(%p, %d, %p)\n", iface, dwFormOfType, pszUserType); 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); return OleRegGetUserType(&This->clsid, dwFormOfType, pszUserType);
} }
......
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