|Microsoft DirectX 9.0|
The IOverlayNotify2 interface derives from the IOverlayNotify interface. IOverlayNotify2 gives asynchronous notifications of changes to the rendering window, identifying changes to the exposed window area. The advise link optionally supports this for the purpose of accepting IOverlayNotify2::OnDisplayChange notification.
To get notifications that the exposed window area has changed, decoders that do their own drawing should implement an IOverlayNotify2 interface.
The video renderer is the only filter that calls the method on this interface. This is done automatically by the default video renderer.
In addition to the methods inherited from IOverlayNotify, the IOverlayNotify2 interface exposes the following method.
|OnDisplayChange||Provides notification that the exposed window area has changed.|