IsSameRow Using Row Handle

HRESULT IsSameRow(
HROW hrow1, 
HROW hrow2);

Parameters

hrow1

Handle to a row.

hrow2

Handle to a row.

Return Code

S_OK 
Returned if both HROWs identify the same row in a data source.

S_FALSE
Returned if the HROWs identify different rows.

E_NOINTERFACE
Returned if IRowsetIdentity is not available.

E_FAIL
Returned if the object is not attached.

Comments

Uses IRowsetIdentity::IsSameRow to test whether two HROWs identify the same row in the data source.