Microsoft DirectX 9.0

IDirectDrawStreamSample Interface

The IDirectDrawStreamSample interface provides methods that set and retrieve pointers to the Microsoft DirectDraw surface associated with the current stream sample.

This interface isn't intended for implementation by application developers. It is exposed by sample objects created by the DirectDraw stream.

Use this interface when applications need to set clipping rectangles and retrieve the rendering surface for DirectDraw stream samples.

In addition to the methods inherited from IStreamSample, the IDirectDrawStreamSample interface exposes the following methods.

Method Description
GetSurface Retrieves pointers to the current sample's DirectDraw surface and associated clipping rectangle.
SetRect Changes the clipping rectangle for a sample.