IDirect3DDevice9_Present() creates an event like this:
\Sessions\1\BaseNamedObjects\DwmDxBltEvent_a7045e
But it isn't closed with IDirect3DDevice9_Release(), only explicitely
destroying the video window closes the event handle.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
vout_display_t *vd = p_event->vd;
msg_Dbg( vd, "Win32VoutCloseWindow" );
+ #ifdef MODULE_NAME_IS_direct3d9
+ DestroyWindow( p_event->hvideownd );
+ #endif
DestroyWindow( p_event->hwnd );
if( p_event->hfswnd )
DestroyWindow( p_event->hfswnd );