Compartilhar via


CBaseRenderer::OnDisplayChange

 
Microsoft DirectShow 9.0

CBaseRenderer::OnDisplayChange

The OnDisplayChange method posts an EC_DISPLAY_CHANGED event to the filter graph manager.

Syntax

  BOOL CBaseRenderer::OnDisplayChange(void);

Return Value

Returns TRUE if the event was posted, or FALSE otherwise.

Remarks

Video renderers should call this method in response to WM_DISPLAYCHANGE messages. If the input pin is connected, the method sends an EC_DISPLAY_CHANGED event to the filter graph manager.

Requirements

**  Header:** Declared in Renbase.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also