BCGControlBar Pro for MFC
LPVOID CBCGPEditMarker::m_pData

Points to the user-defined data.

You can associate the user-defined data with the marker. There is a set of methods manipulating with this data: CBCGPEditCtrl::FindMarkerByData, CBCGPEditCtrl::GetMarkerListByData.