Microsoft Windows CE 3.0  

CTransformFilter::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 media sample, calls the CTransformFilter::Transformmember function, and then delivers the media sample.

HRESULT Receive(  
IMediaSample
*pSample  
);

Parameters

pSample
Media sample to receive.

Return Values

Returns an HRESULTvalue.

Remarks

This member function is called by the CTransformInputPin::Receivemember function, which implements the IMemInputPin::Receivemethod. If you override this member function, you might must also override CTransformFilter::EndOfStream, CTransformFilter::BeginFlush, and CTransformFilter::EndFlush.