CRendererInputPin::Receive
Microsoft DirectShow 9.0 |
CRendererInputPin::Receive
The Receive method receives the next media sample in the stream. This method overrides the CBaseInputPin::Receive method.
Syntax
HRESULT Receive( IMediaSample *pMediaSample );
Parameters
pMediaSample
Pointer to the sample's IMediaSample interface.
Return Value
Returns an HRESULT value.
Remarks
This method calls the filter's CBaseRenderer::Receive method, which handles the rendering. If that method fails, the pin sends an EC_ERRORABORT event.
Requirements
** Header:** Declared in Renbase.h; include Streams.h.
** Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).
See Also