/// <summary>
 /// Return a pointer to the unmanaged version of this callback.
 /// </summary>
 /// <param name="callback">The callback.</param>
 /// <returns>A pointer to a shadow c++ callback</returns>
 public static IntPtr ToIntPtr(VideoPresenter callback)
 {
     return ToCallbackPtr<VideoPresenter>(callback);
 }
Esempio n. 2
0
 /// <summary>
 /// Return a pointer to the unmanaged version of this callback.
 /// </summary>
 /// <param name="callback">The callback.</param>
 /// <returns>A pointer to a shadow c++ callback</returns>
 public static IntPtr ToIntPtr(VideoPresenter callback)
 {
     return(ToCallbackPtr <VideoPresenter>(callback));
 }
Esempio n. 3
0
 void VideoControl_Loaded(object sender, RoutedEventArgs e)
 {
     VideoPresenter.Port = Port;
     VideoPresenter.Initialize();
 }