IDirectDrawMediaSampleAllocator Interface
Microsoft DirectShow 9.0 |
IDirectDrawMediaSampleAllocator Interface
The IDirectDrawMediaSampleAllocator interface allocates samples that contain DirectDraw surfaces.
The Overlay Mixer filter's input pin creates an allocator that implements this interface. This allocator allocates IDirectDrawMediaSample media samples that also support the IMediaSample interface.
Decoder filters should not have to use this interface to connect to the Overlay Mixer. Applications never use this interface.
In addition to the methods inherited from IUnknown, the IDirectDrawMediaSampleAllocator interface exposes the following method.
Method | Description |
GetDirectDraw | Retrieves the DirectDraw instance used to allocate surfaces. |
Requirements
Header: Include Amstream.h.
Library: Use Strmiids.lib.