| Microsoft DirectX 9.0 | 
The IMemAllocatorCallbackTemp interface enables a filter to receive a callback notification from an allocator whenever a sample is returned to the allocator's free list.
The use of this interface is deprecated.
In addition to the methods inherited from IMemAllocator, the IMemAllocatorCallbackTemp interface exposes the following methods.
| Method | Description | 
| GetFreeCount | Retrieves the number of free media samples. | 
| SetNotify | Sets or removes a callback on the allocator. |