Microsoft DirectX 8.1 (C++)

CBaseAllocator::GetFreeCount

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 value includes samples on the free list (CBaseAllocator::m_lFree) and samples that were deleted.

See Also