Important: The information in this document is obsolete and should not be used for new development.
MyAbortFunction
Implements the abort behavior for a progress broadcaster.
void MyAbortFunction (CDAbortProcMessage msgCode, CyberProgressBroadcaster* broadcaster, Ptr userDataPtr);
msgCode- A message code that indicates that the progress broadcaster is being aborted.
broadcaster- A pointer to the progress broadcaster object that is being aborted.
userDataPtr- A pointer to data that may be useful when aborting the progress broadcaster.
DISCUSSION
The purpose of your abort function is to implement any behavior that you want to perform when a progress broadcaster'sAbortmethod is called. TheAbortmethod calls the abort function, which you register when you callCyberProgressBroadcaster::ICyberProgressBroadcaster. This mechanism allows you to customize the abort behavior of a progress broadcaster object without having to subclassCyberProgressBroadcaster.The
userDataPtrparameter contains a pointer to data that may be useful when aborting the progress broadcaster. For example, this parameter might point to a display part whose progress broadcaster should be deleted.SEE ALSO
TheCyberProgressBroadcaster::Abortmethod (page 300).
TheCyberProgressBroadcaster::ICyberProgressBroadcastermethod (page 307).