|Microsoft DirectX 9.0|
Implements an allocator that supports the IMemAllocator interface.
This class derives from CBaseAllocator. For more information about allocators, refer to the documentation for CBaseAllocator.
Header: Declared in Amfilter.h; include Streams.h.
Library: Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).
|Protected Member Variables|
|m_pBuffer||Pointer to the memory block that contains the buffers.|
|Free||Placeholder method; called during a decommit operation.|
|ReallyFree||Releases the memory for the buffers.|
|Alloc||Allocates memory for the buffers.|
|CreateInstance||Creates a new instance of the CMemAllocator class.|
|SetProperties||Specifies the number of buffers to allocate and the size of each buffer.|