Share via


IMemInputPin::GetAllocatorRequirements

Optional method to suggest specific alignment or prefix requirements to an upstream filter.

HRESULT GetAllocatorRequirements(
ALLOCATOR_PROPERTIES *pProps);

Parameters

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

Return Values

Returns an HRESULT value. Returns E_NOTIMPL if not implemented.

Remarks

Source filters that insist on their own allocator may use this method downstream to accommodate downstream filters' memory requirements for performance benefits.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.