oleaut32: Use implementation bitflag in href.
This commit is contained in:
parent
d983e6d590
commit
7adad42745
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue