IMixerOCX::OnDraw method

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

Syntax

HRESULT OnDraw(
  HDC     hdcDraw,
  LPCRECT prcDraw
);

Parameters

hdcDraw

Specifies the device context associated with the parent window.

prcDraw

Specifies the rectangle coordinates of the video rectangle.

Return value

If the method succeeds, it returns S_OK.

Remarks

The HDC provided here should not be cached.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header mixerocx.h
Library Strmiids.lib

See also

IMixerOCX Interface

Overlay Mixer