void VLCHolderWnd::DestroyWindow() { LibVlcDetach(); if( hWnd() ) ::DestroyWindow( hWnd() ); };
void VLCWindowsManager::LibVlcAttach( vlc_player* vp ) { if( !_HolderWnd ) return; //VLCWindowsManager::CreateWindows was not called if( vp && _vp != vp ) { LibVlcDetach(); } if( !_vp ) { _vp = vp; VlcEvents( true ); } _HolderWnd->LibVlcAttach(); }
void VLCHolderWnd::DestroyWindow() { LibVlcDetach(); if(_hWnd) ::DestroyWindow(_hWnd); };