|
virtual bool CRBaseEx::GetApproximatePosition(const BYTE *pBookmark, ULONG *pnPosition, ULONG *pnRows, ULONG nBookmarkLen=0); Return Value true if successful; otherwise false. Parameters [in] pBookmark: A non-NULL pointer to a bookmark. [in] pnPosition: A pointer to a data buffer which receives the position of the row identified by the bookmark pointed by pBookmark. If pnPosition is a null pointer, no position is returned. [in] pnRows: A pointer to a data buffer which receives the total number of rows. If pnRows is a null pointer, no count of rows is returned. [in] nBookmarkLen: Length of the bookmark in bytes. If nBookmarkLen is zero, a CRBaseEx object uses the length of bookmark length of current record. Remark Estimates the approximate position of a bookmarked row. Refers to IRowsetScroll::GetApproximatePosition. For how to use it, see the example Scroll. |