示例#1
0
        public virtual bool MoveNext()
        {
            bool ret = has_next();

            if (ret)
            {
                libvlc_log_message_t msg = new libvlc_log_message_t();
                msg.message_size = (uint)Marshal.SizeOf(typeof(libvlc_log_message_t));

                IntPtr p = libvlc_log_iterator_next(iter, ref msg, _excp);
                VlcException.HandleVlcException(ref _excp);

                last_ptr = (libvlc_log_message_t)Marshal.PtrToStructure(p, typeof(libvlc_log_message_t));
            }

            return(ret);
        }
示例#2
0
 private static extern IntPtr libvlc_log_iterator_next(VlcLogEnumHandle iter, ref libvlc_log_message_t buffer, VlcExceptionHandle _excp);
示例#3
0
 internal VlcLogMessage(libvlc_log_message_t msg)
 {
     _msg = msg;
 }