Microsoft DirectX 8.1 (C++)

CTransInPlaceOutputPin::DecideAllocator

The DecideAllocator method selects a memory allocator.

Syntax

HRESULT DecideAllocator(
    IMemInputPin *pPin,
    IMemAllocator **ppAlloc
);

Parameters

pPin

Pointer to the input pin's IMemInputPin interface.

ppAlloc

Address of a variable that receives a pointer to the allocator's IMemAllocator interface.

Return Value

Returns S_OK.

Remarks

This method overrides the CBaseOutputPin::DecideAllocator method.

This is a dummy method that does nothing, because the output pin for this filter never provides an allocator. Instead, the allocator is decided during the input pin's connection process. The input pin's CTransInPlaceInputPin::NotifyAllocator method calls NotifyAllocator on the downstream input pin.

See Also