共用方式為


CRowset::GetDataHere

 

The latest version of this topic can be found at CRowset::GetDataHere.

Retrieves data from the current row and places it into the specified buffer.

Syntax

  
      HRESULT GetDataHere(   
   int nAccessor,   
   void* pBuffer    
) throw( );  

Parameters

nAccessor
[in] The index number of the accessor to use for accessing the data.

pBuffer
[out] A buffer into which to place the data for the current record.

Return Value

A standard HRESULT.

Remarks

For an example of how to use this function, see the MultiRead sample.

Requirements

Header: atldbcli.h

See Also

CRowset Class
CRowset::GetData