8. The method of claim 7 , further comprising: registering an event filter with the function specifying an event filter defining one or more event types whose occurrence is to be notified.
7. The method of claim 6 , further comprising: registering a function to call to notify the application of the occurrence of the event; and calling the registered function to notify the application of the occurrence of the event.