IDirectDrawMediaSample interface
The IDirectDrawMediaSample interface provides access to DirectDraw surfaces allocated by the Overlay Mixer filter.
The allocator for the Overlay Mixer filter creates samples that expose this interface. These samples are used for connections between the Overlay Mixer and upstream decoder filters. Decoder filters can use this interface to unlock the DirectDraw surface while still holding it, so that other components can access the surface.
Samples that support this interface also support the IMediaSample interface.
The Overlay Mixer's allocator exposes the IDirectDrawMediaSampleAllocator.
Methods
The IDirectDrawMediaSample interface has these methods.
| Method | Description |
|---|---|
| IDirectDrawMediaSample::GetSurfaceAndReleaseLock | The GetSurfaceAndReleaseLock method retrieves and unlocks the surface that the sample represents. |
| IDirectDrawMediaSample::LockMediaSamplePointer | The LockMediaSamplePointer method locks the surface that the sample represents. |
Requirements
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | amstream.h |