ISpElementList_Flush
You can use the ISpElementList_Flush function to flush all the events on an element list.
OSStatus ISpElementList_Flush (ISpElementListReference inElementList);
inElementList
- A reference to the list of elements whose events you want to flush.
- function result
- A result code.
DESCRIPTION
The ElementList Flush function takes, in the inElementList parameter, an element list reference and flushes all the events on that element list. It guarantees to flush only those events that made it to the InputSprocket layer before the call. It will not flush any events that made it to the InputSprocket layer after the call returns. The outcome for events that occur during the call is undefined.The ISpElementList_Flush function is the same as ISpElement_Flush except that it operates on an element list.