次の方法で共有


IRowsetImpl::RefRows

 

The latest version of this topic can be found at IRowsetImpl::RefRows.

Called by AddRefRows and ReleaseRows to either increment or release a reference count to an existing row handle.

Syntax

  
      HRESULT RefRows(  
   DBCOUNTITEM cRows,  
   const HROW rghRows[],  
   DBREFCOUNT rgRefCounts[],  
   DBROWSTATUS rgRowStatus[],  
   BOOL bAdd   
);  

Parameters

See IRowset::AddRefRows in the OLE DB Programmer's Reference.

Return Value

A standard HRESULT value.

Requirements

Header: atldb.h

See Also

IRowsetImpl Class
CSimpleRow Class