/// <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); }
/// <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)); }
void VideoControl_Loaded(object sender, RoutedEventArgs e) { VideoPresenter.Port = Port; VideoPresenter.Initialize(); }