IAMDevMemoryControl Interface (Windows CE 5.0)
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
DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:
Send Feedback on this topic to the authors