Microsoft Windows CE 3.0  

CTransformInputPin::Receive

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Receives the next block of data from the stream.

HRESULT Receive(
IMediaSample
*
pSample
);

Parameters

pSample
Pointer to a media sample.

Return Values

Returns an HRESULTvalue.

Remarks

This member function implements the IMemInputPin::Receivemethod. Add a reference to the block of data if access to it is required after the completion of this method. For instance, some decoder filters for temporal compression data streams require that the previous sample be kept in order to decode the current sample.

This member function calls the CTransformFilter::Receivemember function, which does the work of calling the transform function and then passing the sample on.