Пример #1
0
        public virtual int Notify(
            uint uFrameNum,
            WICProgressOperation operation,
            double dblProgress
            )
        {
            var fp = GetFunctionPointer(3);

            if (m_NotifyFunc == null)
            {
                m_NotifyFunc = (NotifyFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(NotifyFunc));
            }

            return(m_NotifyFunc(m_ptr, uFrameNum, operation, dblProgress));
        }
 public HRESULT Notify([NativeTypeName("ULONG")] uint uFrameNum, WICProgressOperation operation, double dblProgress)
 {
     return(((delegate * unmanaged <IWICProgressCallback *, uint, WICProgressOperation, double, int>)(lpVtbl[3]))((IWICProgressCallback *)Unsafe.AsPointer(ref this), uFrameNum, operation, dblProgress));
 }