Partager via


CBaseInputPin::GetAllocatorRequirements (Compact 2013)

3/26/2014

Optional member function to use if the filter has specific alignment or prefix requirements but could use an upstream allocator.

Syntax

HRESULT GetAllocatorRequirements(
  ALLOCATOR_PROPERTIES* pProps
);

Parameters

  • pProps
    ALLOCATOR_PROPERTIES structure containing the required size, count, and alignment of the allocator.

Return Value

Returns an HRESULT value. Returns E_NOTIMPL by default.

Remarks

Override this member function if you have specific alignment or prefix requirements but could use an upstream allocator.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBaseInputPin Class