Example #1
0
void VLCHolderWnd::DestroyWindow()
{
    LibVlcDetach();

    if( hWnd() )
        ::DestroyWindow( hWnd() );
};
Example #2
0
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();
}
Example #3
0
void VLCHolderWnd::DestroyWindow()
{
    LibVlcDetach();
    if(_hWnd)
        ::DestroyWindow(_hWnd);
};