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.

Members

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

Methods

The IMemInputPin interface has these methods.

MethodDescription
GetAllocator

Retrieves the memory allocator proposed by this pin.

GetAllocatorRequirements

Retrieves allocator properties that are requested by the input pin.

NotifyAllocator

Specifies an allocator for the connection.

Receive

Receives the next media sample in the stream.

ReceiveCanBlock

Determines whether calls to the Receive method might block.

ReceiveMultiple

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]

Header

Strmif.h (include Dshow.h)

Library

Strmiids.lib

 

 

Show: