public virtual int GetDC( D2D1_DC_INITIALIZE_MODE mode, out IntPtr hdc ) { var fp = GetFunctionPointer(3); if (m_GetDCFunc == null) { m_GetDCFunc = (GetDCFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetDCFunc)); } return(m_GetDCFunc(m_ptr, mode, out hdc)); }
public int GetDC(D2D1_DC_INITIALIZE_MODE mode, [NativeTypeName("HDC *")] IntPtr *hdc) { return(((delegate * unmanaged <ID2D1GdiInteropRenderTarget *, D2D1_DC_INITIALIZE_MODE, IntPtr *, int>)(lpVtbl[3]))((ID2D1GdiInteropRenderTarget *)Unsafe.AsPointer(ref this), mode, hdc)); }