Skip to content

Latest commit

 

History

History
87 lines (75 loc) · 2.06 KB

File metadata and controls

87 lines (75 loc) · 2.06 KB
title BLOB_ENTRY_LENGTH | 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
BLOB_ENTRY_LENGTH
dev_langs
C++
helpviewer_keywords
BLOB_ENTRY_LENGTH macro
ms.assetid 832d21ab-5fdd-49ad-af6e-4fca5722ec93
caps.latest.revision 7
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

BLOB_ENTRY_LENGTH

Used with BEGIN_COLUMN_MAP and END_COLUMN_MAP to bind a binary large object (BLOB). Similar to BLOB_ENTRY, except that this macro also gets the length in bytes of the BLOB column.

Syntax

  
BLOB_ENTRY_LENGTH(  
nOrdinal  
,   
IID  
,   
flags  
,   
data  
,   
length  
 )  
  

Parameters

nOrdinal
[in] The column number.

IID
[in] Interface GUID, such as IDD_ISequentialStream, used to retrieve the BLOB.

flags
[in] Storage-mode flags as defined by the OLE Structured Storage model (for example, STGM_READ).

data
[in] The corresponding data member in the user record.

length
[out] The (actual) length in bytes of the BLOB column.

Example

See How Can I Retrieve a BLOB?.

Requirements

Header: atldbcli.h

See Also

Macros and Global Functions for OLE DB Consumer Templates
BEGIN_COLUMN_MAP
END_COLUMN_MAP
COLUMN_ENTRY
BLOB_ENTRY
BLOB_ENTRY_LENGTH_STATUS
BLOB_ENTRY_STATUS