Share via


CBaseInputPin::GetAllocatorRequirements

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Windows Embedded CE Windows CE 2.12 and later
Windows Mobile Windows Mobile Version 5.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later