oleaut32: Use implementation bitflag in href.

This commit is contained in:
Andrew Eikum 2013-06-05 07:57:33 -05:00 committed by Alexandre Julliard
parent d983e6d590
commit 7adad42745
1 changed files with 4 additions and 1 deletions

View File

@ -6054,8 +6054,11 @@ static HRESULT WINAPI ITypeInfo_fnGetRefTypeOfImplType(
{ {
if(index >= This->cImplTypes) if(index >= This->cImplTypes)
hr = TYPE_E_ELEMENTNOTFOUND; hr = TYPE_E_ELEMENTNOTFOUND;
else else{
*pRefType = This->impltypes[index].hRef; *pRefType = This->impltypes[index].hRef;
if(This->typekind == TKIND_INTERFACE)
*pRefType |= 0x2;
}
} }
if(TRACE_ON(ole)) if(TRACE_ON(ole))