def libvlc_media_player_set_hwnd(p_mi, drawable):
    f = _Cfunctions.get('libvlc_media_player_set_hwnd', None) or \
        _Cfunction('libvlc_media_player_set_hwnd', ((1,), (1,),), None,
                    None, MediaPlayer, ctypes.c_void_p)
    if not __debug__:  # i.e. python -O or -OO
        global libvlc_media_player_set_hwnd
        libvlc_media_player_set_hwnd = f
    return f(p_mi, drawable)
The ``Deferred`` returned by ``main_for_service`` fires once the
dataset/ETHPy150Open disqus/playa/playa/lib/vlc.py/libvlc_media_player_set_hwnd--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/common/test/test_script.py/MainForServiceTests.test_fire_after_service_stop