CManualAccessor::CreateAccessor

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

Return Value

One of the standard HRESULT values.

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.

Remarks

Call this function to allocate memory for the column bind structures and initialize the column data members. Call this function before you call the CManualAccessor::AddBindEntry function.

CManualAccessor OverviewClass Members

See Also

DBViewer sample