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); }
private static extern IntPtr libvlc_log_iterator_next(VlcLogEnumHandle iter, ref libvlc_log_message_t buffer, VlcExceptionHandle _excp);
internal VlcLogMessage(libvlc_log_message_t msg) { _msg = msg; }