次の方法で共有


IDirectDrawStreamSample interface (ddstream.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Note  This interface is deprecated. New applications should not use it.
 
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.

Inheritance

The IDirectDrawStreamSample interface inherits from IStreamSample. IDirectDrawStreamSample also has these types of members:

Methods

The IDirectDrawStreamSample interface has these methods.

 
IDirectDrawStreamSample::GetSurface

Note  This interface is deprecated. New applications should not use it. Retrieves pointers to the current sample's DirectDraw surface and associated clipping rectangle.
IDirectDrawStreamSample::SetRect

Note  This interface is deprecated. New applications should not use it. Changes the clipping rectangle for a sample.

Requirements

Requirement Value
Target Platform Windows
Header ddstream.h

See also

IStreamSample