Huw Davies : oleaut32: If the records' guids are equal then the records match.
Alexandre Julliard
julliard at winehq.org
Fri Jun 29 14:24:30 CDT 2012
Module: wine
Branch: master
Commit: befa44246cb7910404118a2b911a50cc690fa6c0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=befa44246cb7910404118a2b911a50cc690fa6c0
Author: Huw Davies <huw at codeweavers.com>
Date: Fri Jun 29 13:35:09 2012 +0100
oleaut32: If the records' guids are equal then the records match.
---
dlls/oleaut32/recinfo.c | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/dlls/oleaut32/recinfo.c b/dlls/oleaut32/recinfo.c
index 54413eb..f6f5653 100644
--- a/dlls/oleaut32/recinfo.c
+++ b/dlls/oleaut32/recinfo.c
@@ -439,11 +439,18 @@ static HRESULT WINAPI IRecordInfoImpl_GetFieldNames(IRecordInfo *iface, ULONG *p
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);
+ 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;
}
More information about the wine-cvs
mailing list