ISpElement_Flush
You can use the ISpElement_Flush function to flush all the events on an element.
OSStatus ISpElement_Flush (ISpElementReference inElement);
inElement
- A reference to the element whose events you want to flush.
- function result
- A result code.
DESCRIPTION
The ISpElement_Flush function takes, in the inElement parameter, an element reference and flushes all the events on that element. 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 ISpElement_Flush function is the same as ISpElementList_Flush except that it operates on a single element.