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.
BLOB_ENTRY_LENGTH(nOrdinal, IID, flags, data, length )
Paramètres
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.
Exemple
See How Can I Retrieve a BLOB?.
Configuration requise
En-tête : atldbcli.h
Voir aussi
Référence
Autres ressources
Macros et fonctions globales pour les modèles du consommateur OLE DB