|Microsoft DirectX 9.0|
The Render method renders a sample.
virtual HRESULT Render( IMediaSample *pMediaSample );
Pointer to the sample's IMediaSample interface.
Returns an HRESULT value. Possible values include those in the following table.
|S_FALSE||The filter is stopped, or pMediaSample is NULL.|
This method calls the pure virtual method CBaseRenderer::DoRenderSample, which does the real work. The derived class must implement DoRenderSample.
Immediately before calling DoRenderSample, this method calls the CBaseRenderer::OnRenderStart method. Immediately after, it calls the CBaseRenderer::OnRenderEnd method. The derived class can override those two methods as needed.