Microsoft DirectX 8.1 (C++) |
The DecideBufferSize method sets the buffer requirements.
Syntax
HRESULT DecideBufferSize(
IMemAllocator *pAlloc,
ALLOCATOR_PROPERTIES *ppropInputRequest
);
Parameters
pAlloc
Pointer to the allocator's IMemAllocator interface.
ppropInputRequest
Pointer an ALLOCATOR_PROPERTIES structure that contains the input pin's buffer requirements.
Return Value
Returns an HRESULT value.
Remarks
This method overrides the CBaseOutputPin::DecideBufferSize method. It calls the filter's pure virtual CTransformFilter::DecideBufferSize method, which the filter's derived class must implement.
See Also