Compartilhar via


CManualAccessor::CreateParameterAccessor

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

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

Parameters

  • nBindEntries
    [in] Number of columns.

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

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

Return Value

One of the standard HRESULT values.

Remarks

You must call this function before calling AddParameterEntry.

Requirements

Header: atldbcli.h

See Also

Reference

CManualAccessor Class

CManualAccessor::CreateAccessor

CManualAccessor::AddParameterEntry