Compartir a través de


IStreamSample Interface (Windows CE 5.0)

Send Feedback

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
GetMediaStream Retrieves a pointer to the media stream object that created the current sample.
GetSampleTimes Retrieves the current sample's start and end times.
SetSampleTimes Sets the current sample's start and end times.
Update Performs a synchronous or an asynchronous update on the current sample.
CompletionStatus Retrieves the status of the current sample's latest asynchronous update.

If the update is not complete, you can force it to complete.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.

See Also

DirectShow Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.