Пример #1
0
 public DialogCallback(global::VideoLAN.LibVLC.DialogCallback _0)
 {
     __Instance = Marshal.AllocHGlobal(sizeof(global::VideoLAN.LibVLC.DialogCallback.__Internal));
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     *((global::VideoLAN.LibVLC.DialogCallback.__Internal*) __Instance) = *((global::VideoLAN.LibVLC.DialogCallback.__Internal*) _0.__Instance);
 }
Пример #2
0
 /// <summary>Register callbacks in order to handle VLC dialogs</summary>
 /// <param name="p_cbs">a pointer to callbacks, or NULL to unregister callbacks.</param>
 /// <param name="p_data">opaque pointer for the callback</param>
 /// <remarks>LibVLC 3.0.0 and later.</remarks>
 public static void LibvlcDialogSetCallbacks(global::VideoLAN.LibVLC.Instance p_instance, global::VideoLAN.LibVLC.DialogCallback p_cbs, global::System.IntPtr p_data)
 {
     var __arg0 = ReferenceEquals(p_instance, null) ? global::System.IntPtr.Zero : p_instance.NativeReference;
     var __arg1 = ReferenceEquals(p_cbs, null) ? global::System.IntPtr.Zero : p_cbs.__Instance;
     __Internal.LibvlcDialogSetCallbacks(__arg0, __arg1, p_data);
 }