if( FAILED( r ) )
{
ERR("IStorage -> IPropertySetStorage failed\n");
- if (db)
- msiobj_release(&db->hdr);
- return ERROR_FUNCTION_FAILED;
+ ret = ERROR_FUNCTION_FAILED;
+ goto end;
}
- ERR("storage = %p propertysetstorage = %p\n", db->storage, psstg);
grfMode = STGM_READ | STGM_SHARE_EXCLUSIVE;
r = IPropertySetStorage_Open( psstg, &FMTID_SummaryInformation, grfMode, &ps );
suminfo->propstg = ps;
handle = alloc_msihandle( &suminfo->hdr );
if( handle )
- *phSummaryInfo = handle;
+ *phSummaryInfo = handle;
else
ret = ERROR_FUNCTION_FAILED;
msiobj_release( &suminfo->hdr );
IPropertyStorage_Release(ps);
if( psstg )
IPropertySetStorage_Release(psstg);
- if (db)
+ if( db )
msiobj_release(&db->hdr);
return ret;
UINT WINAPI MsiSummaryInfoSetPropertyA( MSIHANDLE hSummaryInfo, UINT uiProperty,
UINT uiDataType, INT iValue,
- FILETIME* pftValue, LPSTR szValue)
+ FILETIME* pftValue, LPSTR szValue )
{
+ FIXME("%ld %u %u %i %p %s\n", hSummaryInfo, uiProperty,
+ uiDataType, iValue, pftValue, debugstr_a(szValue) );
return ERROR_CALL_NOT_IMPLEMENTED;
}
UINT WINAPI MsiSummaryInfoSetPropertyW( MSIHANDLE hSummaryInfo, UINT uiProperty,
UINT uiDataType, INT iValue,
- FILETIME* pftValue, LPWSTR szValue)
+ FILETIME* pftValue, LPWSTR szValue )
{
+ FIXME("%ld %u %u %i %p %s\n", hSummaryInfo, uiProperty,
+ uiDataType, iValue, pftValue, debugstr_w(szValue) );
return ERROR_CALL_NOT_IMPLEMENTED;
}
-UINT WINAPI MsiSummaryInfoPersist(MSIHANDLE hSummaryInfo)
+UINT WINAPI MsiSummaryInfoPersist( MSIHANDLE hSummaryInfo )
{
+ FIXME("%ld\n", hSummaryInfo );
return ERROR_CALL_NOT_IMPLEMENTED;
}