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.

Members

The IDirectDrawMediaSample interface inherits from the IUnknown interface. IDirectDrawMediaSample also has these types of members:

Methods

The IDirectDrawMediaSample interface has these methods.

MethodDescription
GetSurfaceAndReleaseLock

Retrieves and unlocks the surface that the sample represents.

LockMediaSamplePointer

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]

Header

Amstream.h

Library

Strmiids.lib

 

 

Community Additions

ADD
Show:
© 2014 Microsoft