Share via


IOverlayNotify2::OnDisplayChange

 
Microsoft DirectShow 9.0

IOverlayNotify2::OnDisplayChange

The OnDisplayChange method provides notification that the exposed window area has changed.

Syntax

  HRESULT OnDisplayChange(
  HMONITOR hMonitor
);

Parameters

hMonitor

[in] Handle to the monitor used for displaying the overlay.

Return Value

Returns S_OK if successful. If the method fails, it returns an HRESULT error code.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also