Export (0) Print
Expand All

CBaseAllocator.GetFreeCount method

The GetFreeCount method retrieves the number of media samples that are not in use.

Syntax


HRESULT GetFreeCount(
  LONG *plBuffersFree
);

Parameters

plBuffersFree

Address of a variable that receives the number of samples that are not in use.

Return value

Returns S_OK.

Remarks

This method implements the IMemAllocatorCallbackTemp::GetFreeCount method. The allocator does not expose the IMemAllocatorCallbackTemp interface unless the fEnableReleaseCallback flag is set to TRUE in the CBaseAllocator constructor.

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