CPropExchange::ExchangeBlobProp
Serializes a property that stores binary large object (BLOB) data.
virtual BOOL ExchangeBlobProp(
LPCTSTR pszPropName,
HGLOBAL* phBlob,
HGLOBAL hBlobDefault = NULL
) = 0;
Параметры
pszPropName
The name of the property being exchanged.phBlob
Pointer to a variable pointing to where the property is stored (variable is typically a member of your class).hBlobDefault
Default value for the property.
Возвращаемое значение
Nonzero if the exchange was successful; 0 if unsuccessful.
Заметки
The property's value is read from or written to, as appropriate, the variable referenced by phBlob. If hBlobDefault is specified, it will be used as the property's default value. This value is used if, for any reason, the control's serialization fails.
The functions CArchivePropExchange::ExchangeBlobProp, CResetPropExchange::ExchangeBlobProp, and CPropsetPropExchange::ExchangeBlobProp override this pure virtual function.
Требования
Header: afxctl.h
См. также
Основные понятия
CPropExchange::ExchangeFontProp