Partager via


IMemInputPin Interface

 
Microsoft DirectShow 9.0

IMemInputPin Interface

The IMemInputPin interface delivers media data to an input pin. Input pins expose this interface if they use the IMemAllocator interface to allocate buffers. When an output pin connects to an input pin, the output pin uses this interface to negotiate allocator requirements and deliver samples to the input pin.

Applications typically do not use this interface.

Filter developers: The CBaseInputPin class implements this interface.

In addition to the methods inherited from IUnknown, the IMemInputPin interface exposes the following methods.

Method Description
GetAllocator Retrieves the memory allocator proposed by this pin.
NotifyAllocator Specifies an allocator for the connection.
GetAllocatorRequirements Retrieves allocator properties that are requested by the input pin.
Receive Receives the next media sample in the stream.
ReceiveMultiple Receives multiple samples in the stream.
ReceiveCanBlock Determines whether calls to the Receive method might block.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.