CompareBookmarks

HRESULT CompareBookmarks(
const CBookmark& bmk1,
const CBookmark& bmk2, 
DBCOMPARE& dbCmp);

Parameters

bmk1

Bookmark of a row.

bmk2

Bookmark of a row.

dbCmp

Reference to a buffer to receive the result of the comparison.

Return Code

S_OK

Method succeeded.

E_NOINTERFACE

Returned if IRowsetLocate is not available.

E_FAIL

Returned if the object is not attached.

Comments

Uses IRowsetLocate::Compare to compare two bookmarks.