The EventEntry routine specified in SpiCreateStream is called when the event is detected. Multiple events can be defined for each stream instance. This event will be enabled for the stream instance specified in the hstream field of EVCB. The Sync/Stream Manager supplies several system-defined events, but a stream handler can define new events. Event types must fall within the numeric range of 0x80000000 to 0xFFFFFFFF. All other event values are reserved for the system. Following is a list of system-defined events that can be enabled:
EVENT_SYNCOVERRUN
EVENT_CUE_TIME
EVENT_CUE_TIME_PAUSE
EVENT_CUE_DATA
EVENT_DATAOVERRUN
EVENT_DATAUNDERRUN
Each stream handler also can define values for the ulFlags field in the EVCB.