Depending on the type of object associated to the stream as a source or target, this function directs the appropriate stream handler to relocate the current stream index, or position, to the specified location. The stream position is equivalent to stream time. See SpiGetTime to query the current stream time of a stream instance. This function can be used to reposition the stream forward or backward from its current position. A negative lSeekPoint seeks backwards and a positive lSeekPoint seeks forward.
This function can be performed 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 or if the stream is in a prerolled or prerolling state.
See the documentation for each stream handler for any restrictions to the seek function.