Partager via


CTransInPlaceInputPin::NotifyAllocator (Windows CE 5.0)

Send Feedback

Receives notification of which allocator will be used by the connected output pin.

HRESULT NotifyAllocator(IMemAllocator* pAllocator,BOOLbReadOnly);

Parameters

Return Values

Returns NOERROR if successful.

Returns E_POINTER if the pointer is invalid.

Otherwise, returns an error due to calling CTransInPlaceOutputPin::ReceiveAllocator.

Remarks

This member function overrides the CBaseInputPin::NotifyAllocator member function and implements the IMemInputPin::NotifyAllocator method.

This member function remembers the allocator and passes it to the output pin because they both must share the same allocator.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.