Compartilhar via


CTransformOutputPin::DecideBufferSize (Compact 2013)

3/26/2014

Determines the number and size of buffers required.

Syntax

HRESULT DecideBufferSize(
  IMemAllocator* pAlloc,
  ALLOCATOR_PROPERTIES* ppropInputRequest 
); 

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

This member function overrides the CBaseOutputPin::DecideBufferSize member function and calls the pure virtual CTransformFilter::DecideBufferSize member function, which your derived class must override and implement.

This member function is called from the CBaseOutputPin class during the connection process.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CTransformOutputPin Class