public new static vtkWin32VideoSource New() { vtkWin32VideoSource result = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkWin32VideoSource.vtkWin32VideoSource_New(ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; result = (vtkWin32VideoSource)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); } return(result); }
public new static vtkWin32VideoSource SafeDownCast(vtkObjectBase o) { vtkWin32VideoSource vtkWin32VideoSource = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkWin32VideoSource.vtkWin32VideoSource_SafeDownCast_15((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkWin32VideoSource = (vtkWin32VideoSource)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkWin32VideoSource.Register(null); } } return(vtkWin32VideoSource); }