On Thu, 2021-03-25 at 20:24 +1100, Alistair Leslie-Hughes wrote:
static HRESULT WINAPI recordset_put_Bookmark( _Recordset *iface, VARIANT bookmark ) {
- FIXME( "%p, %s\n", iface, debugstr_variant(&bookmark) );
- return E_NOTIMPL;
- struct recordset *recordset = impl_from_Recordset( iface );
- TRACE( "%p, %s\n", iface, debugstr_variant(&bookmark) );
- if (V_VT(&bookmark) != VT_I4)
ERR("Unexpected type %d\n", V_VT(&bookmark));
- recordset->index = V_I4(&bookmark);
- return S_OK;
}
Please add a test to show what should be done with invalid input.