CManualAccessor::AddParameterEntry

void AddParameterEntry( ULONG nOrdinal, DBTYPE wType, ULONG nColumnSize, void* pData, void* pLength = NULL, void* pStatus = NULL, DBPARAMIO eParamIO = DBPARAMIO_INPUT );

Parameters

See DBBINDING in the OLE DB Programmer's Reference.

nOrdinal

[in] Parameter 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.

eParamIO

[in] Specifies whether the parameter with which the binding is associated is an input, input/output, or output parameter.

Remarks

Adds a parameter entry to the parameter entry structures. To use this function, you must first call CreateParameterAccessor.

CManualAccessor OverviewClass Members

See Also

CManualAccessor::AddBindEntry, DBViewer sample