CManualAccessor::AddBindEntry

void AddBindEntry( ULONG nOrdinal, DBTYPE wType, ULONG nColumnSize, void* pData, void* pLength = NULL, void* pStatus = NULL );

Parameters

See DBBINDING in the OLE DB Programmer's Reference.

nOrdinal

[in] Column number.

wType

[in] Data type.

nColumnSize

[in] Column size in bytes.

pData

[in] A pointer to the column data stored in the buffer.

pLength

[in] A pointer to the field length, if required.

pStatus

[in] A pointer to the variable to be bound to the column status, if required.

Remarks

Adds a bind entry to the output columns. To use this function, you must first call CreateAccessor. You cannot add more entries than the number of columns specified in CreateAccessor.

CManualAccessor Overview |  Class Members

See Also

DBViewer sample