Microsoft DirectX 9.0

DirectDraw Streaming Interfaces

If you use Microsoft® DirectDraw®-supported video formats in your streams, the following interfaces give you more powerful control over the data than the more generic base interfaces.

IDirectDrawMediaStream

Sets and retrieves the stream format and the DirectDraw object associated with the media stream; this interface derives from IMediaStream. You can also use this interface to create video samples.

IDirectDrawStreamSample

Enables you to attach video samples to DirectDraw surfaces; this interface derives from the IStreamSample interface. Each attached surface includes a clipping rectangle to make rendering easier.