Microsoft DirectX 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.

See Also