protected void Attach(LibvlcEventE eType)
 {
     if (LibVlcMethods.libvlc_event_attach(MEventProvider.EventManagerHandle, eType, _hCallback1, IntPtr.Zero) != 0)
     {
         throw new OutOfMemoryException("Failed to subscribe to event notification");
     }
 }
 protected void Dettach(LibvlcEventE eType)
 {
     LibVlcMethods.libvlc_event_detach(MEventProvider.EventManagerHandle, eType, _hCallback1, IntPtr.Zero);
 }