[PATCH 3/3] msado15: Implement ADORecordsetConstruction get/put Rowset

Hans Leidekker hans at codeweavers.com
Fri Oct 30 04:09:05 CDT 2020


On Fri, 2020-10-30 at 18:50 +1100, Alistair Leslie-Hughes wrote: 
>  static HRESULT WINAPI rsconstruction_put_Rowset(ADORecordsetConstruction *iface, IUnknown *row_set)
>  {
>      struct recordset *recordset = impl_from_ADORecordsetConstruction( iface );
> -    FIXME("%p, %p\n", recordset, row_set);
> -    return E_NOTIMPL;
> +
> +    TRACE("%p, %p\n", recordset, row_set);
> +
> +    if (recordset->row_set) IUnknown_Release(recordset->row_set);
> +    recordset->row_set = row_set;
> +    if (recordset->row_set) IUnknown_AddRef(recordset->row_set);
> +
> +    return S_OK;
>  }

This is supposed to turn the row_set into a Recordset object but
you only store a reference. This could use some tests around
the interaction between these objects.





More information about the wine-devel mailing list