Microsoft Windows CE 3.0  

IMemInputPin::GetAllocatorRequirements

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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

HRESULT GetAllocatorRequirements(
ALLOCATOR_PROPERTIES *
pProps
);

Parameters

pProps
[in] ALLOCATOR_PROPERTIESstructure containing the required size, count, and alignment of the allocator.

Return Values

Returns an HRESULTvalue. 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.