public virtual int RegisterProgressNotification(
            PFNProgressNotification pfnProgressNotification,
            IntPtr pvData,
            uint dwProgressFlags
            )
        {
            var fp = GetFunctionPointer(3);

            if (m_RegisterProgressNotificationFunc == null)
            {
                m_RegisterProgressNotificationFunc = (RegisterProgressNotificationFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(RegisterProgressNotificationFunc));
            }

            return(m_RegisterProgressNotificationFunc(m_ptr, pfnProgressNotification, pvData, dwProgressFlags));
        }
Beispiel #2
0
 public static extern int IWICBitmapCodecProgressNotification_RegisterProgressNotification_Proxy(
     IWICBitmapCodecProgressNotification This,
     PFNProgressNotification pfnProgressNotification,
     IntPtr pvData,
     uint dwProgressFlags
     );