CRowset::GetApproximatePosition

HRESULT GetApproximatePosition( const CBookmarkBase*& pBookmark, ULONG* pPosition, ULONG* pcRows );

Return Value

A standard HRESULT.

Parameters

pBookmark

[in] A pointer to a bookmark that identifies the row whose position is to be found. NULL if only the row count is required.

pPosition

[out] A pointer to the location where GetApproximatePosition returns the position of the row. NULL if the position is not required.

pcRows

[out] A pointer to the location where GetApproximatePosition returns the total number of rows. NULL if the row count is not required.

Remarks

Returns the approximate position of a row corresponding to a bookmark.

CRowset OverviewClass Members

See Also

IRowsetScroll::GetApproximatePosition