Microsoft DirectX 9.0 |
The DeliverNewSegment method delivers a new-segment notification to the connected input pin.
Syntax
virtual HRESULT DeliverNewSegment(
REFERENCE_TIME tStart,
REFERENCE_TIME tStop,
double dRate
);
Parameters
tStart
Starting media position of the segment, in 100-nanosecond units.
tStop
End media position of the segment, in 100-nanosecond units.
dRate
Rate at which this segment should be processed, as a percentage of the original rate.
Return Value
Returns an HRESULT value. Possible values include those listed in the following table.
Value | Description |
S_OK | Success. |
VFW_E_NOT_CONNECTED | Pin is not connected. |
Remarks
This method calls the IPin::NewSegment method on the input pin.
See Also