Udostępnij za pośrednictwem


BLOB_ENTRY_STATUS

Used with BEGIN_COLUMN_MAP or BEGIN_ACCESSOR_MAP to bind a binary large object (BLOB). Similar to BLOB_ENTRY, except that this macro also gets the status of the BLOB column.

BLOB_ENTRY_STATUS(nOrdinal, IID, flags, data, status )

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.

  • status
    [out] The status of the BLOB field.

Example

See How Can I Retrieve a BLOB?.

Requirements

Header: atldbcli.h

See Also

Reference

BEGIN_COLUMN_MAP

END_COLUMN_MAP

COLUMN_ENTRY

BLOB_ENTRY

BLOB_ENTRY_LENGTH

BLOB_ENTRY_LENGTH_STATUS

Other Resources

Macros and Global Functions for OLE DB Consumer Templates