Partager via


CBaseInputPin::GetAllocatorRequirements (Windows Embedded CE 6.0)

1/6/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
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

See Also

Reference

CBaseInputPin Class