Compartir a través de


CManualAccessor::CreateAccessor

Allocates memory for the column bind structures and initializes the column data members.

HRESULT CreateAccessor( 
   int nBindEntries, 
   void* pBuffer, 
   DBLENGTH nBufferSize  
) throw( );

Parameters

  • nBindEntries
    [in] Number of columns. This number should match the number of calls to the CManualAccessor::AddBindEntry function.

  • pBuffer
    [in] A pointer to the buffer where the output columns are stored.

  • nBufferSize
    [in] The size of the buffer in bytes.

Return Value

One of the standard HRESULT values.

Remarks

Call this function before you call the CManualAccessor::AddBindEntry function.

Requirements

Header: atldbcli.h

See Also

Reference

CManualAccessor Class

Concepts

DBViewer sample