Compartilhar via


CTransformFilter::Receive (Compact 2013)

3/26/2014

Receives the media sample, calls the CTransformFilter::Transform member function, and then delivers the media sample.

Syntax

HRESULT Receive(
  IMediaSample* pSample
);

Parameters

  • pSample
    Media sample to receive.

Return Value

Returns an HRESULT value.

Remarks

This member function is called by the CTransformInputPin::Receive member function, which implements the IMemInputPin::Receive method.

If you override this member function, you might must also override CTransformFilter::EndOfStream, CTransformFilter::BeginFlush, and CTransformFilter::EndFlush.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CTransformFilter Class