Beispiel #1
0
        public virtual int SetMetadataByName(
            ref ushort wzName,
            ref tagPROPVARIANT pvarValue
            )
        {
            var fp = GetFunctionPointer(7);

            if (m_SetMetadataByNameFunc == null)
            {
                m_SetMetadataByNameFunc = (SetMetadataByNameFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(SetMetadataByNameFunc));
            }

            return(m_SetMetadataByNameFunc(m_ptr, ref wzName, ref pvarValue));
        }
Beispiel #2
0
        public virtual int Next(
            uint celt,
            out tagPROPVARIANT rgeltSchema,
            out tagPROPVARIANT rgeltId,
            out tagPROPVARIANT rgeltValue,
            out uint pceltFetched
            )
        {
            var fp = GetFunctionPointer(3);

            if (m_NextFunc == null)
            {
                m_NextFunc = (NextFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(NextFunc));
            }

            return(m_NextFunc(m_ptr, celt, out rgeltSchema, out rgeltId, out rgeltValue, out pceltFetched));
        }