CPropExchange::ExchangeBlobProp
Serializes a property that stores binary large object (BLOB) data.
virtual BOOL ExchangeBlobProp(
LPCTSTR pszPropName,
HGLOBAL* phBlob,
HGLOBAL hBlobDefault = NULL
) = 0;
Parameters
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.
Return Value
Nonzero if the exchange was successful; 0 if unsuccessful.
Remarks
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.
Requirements
Header: afxctl.h
See Also
Reference
CPropExchange::ExchangeFontProp
CPropExchange::ExchangePersistentProp