Freigeben über


IRowsetExactScroll::GetExactPosition

Returns the exact position of the specified bookmark and the exact rowcount.

Syntax

HRESULT GetExactPosition(
   HCHAPTER hChapter,
      DBBKMARK cbBookmark,
   const BYTE *pBookmark,
      DBCOUNTITEM *pulPosition,
      DBCOUNTITEM *pcRows
);

Parameters

  • hChapter
    [in] A chapter handle, used to limit the scope of the operations to the relevant rows.

  • cbBookmark
    [in] The number of bytes in the data of the bookmark. This will be a 32-bit field on 32-bit platform and a 64-bit field on 64-bit platforms.

  • pBookmark
    [in] Pointer to the bookmark data (a opaque sequence of bytes).

  • pulPosition
    [out] Pointer to an unsigned field (32 bits on 32-bit platforms and 64 bits on 64-bit platforms) that returns the exact position of the bookmark relative to the beginning.

  • pcRows
    [out] Pointer to an unsigned field (32 bits on 32-bit platforms and 64 bits on 64-bit platforms) that returns the number of rows in the rowset.

See Also

Reference

IRowsetExactScroll