|Microsoft DirectX 9.0|
The GetAllocator method retrieves the memory allocator proposed by this pin. This method implements the IMemInputPin::GetAllocator method.
HRESULT GetAllocator( IMemAllocator **ppAllocator );
Address of a variable that receives a pointer to the allocator's IMemAllocator interface.
Returns an HRESULT value. Possible values include those shown in the following table.
|VFW_E_NO_ALLOCATOR||No allocator is available.|
If the filter's output pin is connected, this method requests an allocator from the downstream filter's input pin.
If the filter's output pin is not connected, this method creates a temporary allocator. Later, when the output pin is connected, the filter will reconnect the input pin and renegotiate the allocator.