Partager via


BLOB_ENTRY_LENGTH

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at 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