次の方法で共有


BLOB_NAME_LENGTH_STATUS

 

The latest version of this topic can be found at BLOB_NAME_LENGTH_STATUS.

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

Syntax

  
BLOB_NAME_LENGTH_STATUS(  
pszName  
,   
IID  
,   
flags  
,   
data  
,   
length  
, status )  

Parameters

pszName
[in] A pointer to the column name. The name must be a Unicode string. You can accomplish this by putting an 'L' in front of the name, for example: L"MyColumn".

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.

status
[out] The status of the BLOB field.

Requirements

Header: atldbcli.h

See Also

Macros and Global Functions for OLE DB Consumer Templates
BEGIN_COLUMN_MAP
END_COLUMN_MAP
COLUMN_ENTRY
BLOB_NAME
BLOB_NAME_LENGTH
BLOB_NAME_STATUS