Share via


CBaseOutputPin::DecideBufferSize (Compact 2013)

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,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseOutputPin Class