|Microsoft DirectX 9.0|
Note This interface has been deprecated. It was defined to support certain older hardware decoders that required AVI files to be read directly into hardware memory. The interface enables the AVI parser to allocate memory from the downstream filter but still provide its own allocator. There should be no need for any newer devices to support this interface.
A device memory control object supports IAMDevMemoryControl. 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.
Implement this interface with the IAMDevMemoryAllocator interface when pins need to have greater control of memory allocation.
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.
In addition to the methods inherited from IUnknown, the IAMDevMemoryControlinterface exposes the following methods.
|GetDevId||Retrieves the device ID of the on-board memory allocator.|
|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.|