IAMDevMemoryControl interface (strmif.h)
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
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.
Inheritance
The IAMDevMemoryControl interface inherits from the IUnknown interface. IAMDevMemoryControl also has these types of members:
Methods
The IAMDevMemoryControl interface has these methods.
IAMDevMemoryControl::GetDevId Note The IAMDevMemoryControl interface is deprecated. Retrieves the device ID of the on-board memory allocator. |
IAMDevMemoryControl::QueryWriteSync Note The IAMDevMemoryControl interface is deprecated. Checks if the memory supported by the allocator requires the use of the IAMDevMemoryControl::WriteSync method. |
IAMDevMemoryControl::WriteSync Note The IAMDevMemoryControl interface is deprecated. Used to synchronize with the completed write. This method returns when any data being written to the particular allocator region is fully written into the memory. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | strmif.h |