Partager via


CBaseRenderer::Render (Compact 2013)

3/26/2014

Asks the derived class to render the sample.

Syntax

virtual HRESULT Render(
  IMediaSample* pMediaSample
);

Parameters

  • pMediaSample
    Media sample.

Return Value

Returns an HRESULT value.

Remarks

This member function is called when the derived class should render the sample.

The action taken depends on the nature of the renderer; a video renderer typically draws the image in a window.

This class calls the pure virtual DoRenderSample to be implemented by the derived class.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBaseRenderer Class