Share via


IAMDevMemoryControl Interface (Windows Embedded CE 6.0)

1/6/2010

This interface controls and identifies the on-board memory of codecs. A device memory control object supports this interface. This object is aggregated with an IMemAllocator object that is used in the connection. Typically, filters will call the IAMDevMemoryAllocator::GetDevMemoryObject method to obtain a pointer to this interface.

When to Implement

Implement this interface with the IAMDevMemoryAllocator interface when pins need to have greater control of memory allocation.

When to Use

Use this interface to synchronize the completion of writing data to a memory allocator, and to get the device ID of the on-board memory allocator.

Methods in Vtable Order

The following table shows the methods that appear in the Vtable beneath the standard COM methods inherited from IUnknown.

Method Description

QueryWriteSync

Checks if the memory supported by the allocator requires the use of the WriteSync method.

WriteSync

Used to synchronize with the completed write operation by returning when any data being written to the specified allocator region is fully written into the memory.

GetDevId

Retrieves the device ID of the on-board memory allocator.

Requirements

Windows Embedded CE Windows CE 2.12 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment

See Also

Reference

DirectShow Interfaces