Partager via


CManualAccessor : : AddParameterEntry

Adds a parameter entry to the parameter entry structures.

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

Paramètres

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.

Notes

To use this function, you must first call CreateParameterAccessor.

Configuration requise

En-tête : atldbcli.h

Voir aussi

Référence

Classe CManualAccessor

CManualAccessor : : AddBindEntry

Concepts

DBViewer sample