다음을 통해 공유


CManualAccessor::CreateAccessor

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

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

매개 변수

  • 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.

반환 값

One of the standard HRESULT values.

설명

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

요구 사항

헤더: atldbcli.h

참고 항목

참조

CManualAccessor 클래스

개념

DBViewer sample