IMemInputPin interface (strmif.h)

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.

Inheritance

The IMemInputPin interface inherits from the IUnknown interface. IMemInputPin also has these types of members:

Methods

The IMemInputPin interface has these methods.

 
IMemInputPin::GetAllocator

The GetAllocator method retrieves the memory allocator proposed by this pin. After the allocator has been selected, this method returns a pointer to the selected allocator.
IMemInputPin::GetAllocatorRequirements

The GetAllocatorRequirements method retrieves the allocator properties requested by the input pin.
IMemInputPin::NotifyAllocator

The NotifyAllocator method specifies an allocator for the connection.
IMemInputPin::Receive

The Receive method receives the next media sample in the stream.
IMemInputPin::ReceiveCanBlock

The ReceiveCanBlock method determines whether calls to the IMemInputPin::Receive method might block.
IMemInputPin::ReceiveMultiple

The ReceiveMultiple method receives multiple samples in the stream.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header strmif.h (include Dshow.h)