IStreamSample Interface (Compact 2013)
3/26/2014
This interface provides control over the behavior of stream samples. You can retrieve the media stream that created the sample, set or retrieve sample start and stop times, check the sample's completion status, and perform a developer-specified function on the sample itself.
Implement this interface when you implement a media stream for a new media type. The interface is exposed on sample objects created by media streams.
Use this interface when you want to control data samples created by IMediaStream or its derived interfaces.
Methods in Vtable Order
The following table shows the methods that appear in the Vtable beneath the standard COM methods inherited from IUnknown.
Method |
Description |
---|---|
Retrieves a pointer to the media stream object that created the current sample. |
|
Retrieves the current sample's start and end times. |
|
Sets the current sample's start and end times. |
|
Performs a synchronous or an asynchronous update on the current sample. |
|
Retrieves the status of the current sample's latest asynchronous update. If the update is not complete, you can force it to complete. |
Requirements
Header |
dshow.h |
Library |
Strmiids.lib |