Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CBaseAllocator.Free method

The Free method releases all of the buffer memory. This method is called when the owning filter decommits the allocator, after the last media sample is released.

Syntax


virtual void Free() = 0;

Parameters

This method has no parameters.

Return value

This method does not return a value.

Remarks

After the Decommit method is called, the allocator calls this method when it releases the last media sample. The derived class must implement this method.

Requirements

Header

Amfilter.h (include Streams.h)

Library

Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CBaseAllocator Class

 

 

Community Additions

ADD
Show:
© 2015 Microsoft