IMixerOCX::OnDraw

 
Microsoft DirectShow 9.0

IMixerOCX::OnDraw

The OnDraw method instructs the Overlay Mixer to draw the video rectangle.

Syntax

  HRESULT OnDraw(
  HDC  hdcDraw,
  LPCRECT  prcDraw
);

Parameters

hdcDraw

[in]  Specifies the device context associated with the parent window.

prcDraw

[in]  Specifies the rectangle coordinates of the video rectangle.

Return Values

If the method succeeds, it returns S_OK.

Remarks

The HDC provided here should not be cached.

Requirements

Header: Include Mixerocx.h.

Library: Use Strmiids.lib.

See Also