Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
3/26/2014
Retrieves the number and size of buffers required for the transfer.
Syntax
virtual HRESULT DecideBufferSize(
IMemAllocator* pAlloc,
ALLOCATOR_PROPERTIES* ppropInputRequest
) PURE;
Parameters
- pAlloc
Allocator assigned to the transfer.
- ppropInputRequest
Requested allocator properties for count, size, and alignment, as specified by the ALLOCATOR_PROPERTIES structure.
Return Value
Returns an HRESULT value.
Remarks
The CBaseOutputPin::DecideAllocator member function calls this member function.
You must override this member function in your derived class and call IMemAllocator::SetProperties.
Requirements
Header |
dshow.h, |
Library |
ole32.lib, |