PROP_DATA_ENTRY( szDesc, member, vt )
Parameters
szDesc
[in] The property description.
member
[in] The data member containing the extent; for example, m_sizeExtent
.
vt
[in] Specifies the VARIANT type of the property.
Remarks
Call this function to cause the specified data member to be persisted. In the following example, the extent of the object (M_sizeExtent) is being persisted.
When you create an ActiveX control, the wizard inserts this macro after the property map macro BEGIN_PROP_MAP and before the property map macro END_PROPERTY_MAP.
Example
BEGIN_PROP_MAP(CMyControl)
PROP_DATA_ENTRY("_cx", m_sizeExtent.cx, VT_UI4)
PROP_DATA_ENTRY("_cy", m_sizeExtent.cy, VT_UI4)
END_PROP_MAP()