SpiAssociate - Remarks

Once a stream is created, a data object can be associated with the stream. This data object is what will be streamed to an output device or from an input device. Devices must be specified by using device control blocks (DCBs) in the SpiCreateStream call. Each stream handler can define a set of associate control blocks that it can understand. The hid indicates which stream handler will process this association. This function is valid only on a newly created (not started) stream, a stopped stream (discard or flush stop), or after the end-of-stream notification. This function is not valid after a pause. This function returns an error if the stream has been prerolled, but not started or discard stopped. The stream time is not reset to 0 after a new object is associated. Use SpiSeekStream to seek to the beginning of the data object. Stream time is no longer valid after an SpiAssociate call. An SpiSeekStream call must be made by the application media control device to set the correct stream time or to seek the device.


[Back: SpiAssociate - Parameters]
[Next: SpiAssociate - Related Functions]