コード例 #1
0
 internal void DetachEvent(VLCLibrary.VlcEventType type, VLCLibrary.EventCallbackDelegate callback, IntPtr userdata)
 {
     VLCLibrary.Instance.event_detach(VlcEventManager.Handle, (uint)type, callback, userdata, string.Empty);
     _AttachedEvents.Remove(type);
 }
コード例 #2
0
 internal void AttachEvent(VLCLibrary.VlcEventType type, VLCLibrary.EventCallbackDelegate callback, IntPtr userdata)
 {
     VLCLibrary.Instance.event_attach(VlcEventManager.Handle, (uint)type, callback, userdata, null);
     _AttachedEvents.Add(type);
 }