Skip to content

Latest commit

 

History

History
87 lines (74 loc) · 1.91 KB

File metadata and controls

87 lines (74 loc) · 1.91 KB
title CManualAccessor::AddBindEntry | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
f1_keywords
ATL::CManualAccessor::AddBindEntry
ATL.CManualAccessor.AddBindEntry
CManualAccessor::AddBindEntry
AddBindEntry
CManualAccessor.AddBindEntry
dev_langs
C++
helpviewer_keywords
AddBindEntry method
ms.assetid 8556dda9-dda1-4f67-96bc-6031e6c6a271
caps.latest.revision 9
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

CManualAccessor::AddBindEntry

Adds a bind entry to the output columns.

Syntax

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

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

To use this function, you must first call CreateAccessor. You cannot add more entries than the number of columns specified in CreateAccessor.

Requirements

Header: atldbcli.h

See Also

CManualAccessor Class
DBViewer sample