HRESULT GetCurrentRow(
HROW& hrow,
DBPOSITIONFLAGS *pdwPositionFlags = NULL);
Parameters
hrow
Reference to buffer to receive the current row handle. Use CRowset::ReleaseRows to release the row handle when it is no longer needed.
pdwPositionFlags
Pointer to buffer to receive DBPOSITIONFLAGS mask. This can be NULL if the caller is not interested in the flags.
Return Code
S_OK
Method succeeded.
E_FAIL
Returned if the object is not attached or is an IRowPosition interface.
Comments
Uses IRowPostion::GetCurrentRow to retrieve the HROW of the current row. This method is available only if the attached interface implemented IRowPosition.