oleaut32: If the records' guids are equal then the records match.

This commit is contained in:
Huw Davies 2012-06-29 13:35:09 +01:00 committed by Alexandre Julliard
parent 8dcc3b9d56
commit befa44246c
1 changed files with 9 additions and 2 deletions

View File

@ -439,11 +439,18 @@ static HRESULT WINAPI IRecordInfoImpl_GetFieldNames(IRecordInfo *iface, ULONG *p
return S_OK; return S_OK;
} }
static BOOL WINAPI IRecordInfoImpl_IsMatchingType(IRecordInfo *iface, IRecordInfo *pRecordInfo) static BOOL WINAPI IRecordInfoImpl_IsMatchingType(IRecordInfo *iface, IRecordInfo *info2)
{ {
IRecordInfoImpl *This = impl_from_IRecordInfo(iface); IRecordInfoImpl *This = impl_from_IRecordInfo(iface);
GUID guid2;
FIXME("(%p)->(%p) stub\n", This, pRecordInfo); TRACE( "(%p)->(%p)\n", This, info2 );
IRecordInfo_GetGuid( info2, &guid2 );
if (IsEqualGUID( &This->guid, &guid2 )) return TRUE;
FIXME( "records have different guids (%s %s) but could still match\n",
debugstr_guid( &This->guid ), debugstr_guid( &guid2 ) );
return FALSE; return FALSE;
} }