private void TestMisc() { WMReaderStatistics ps = new WMReaderStatistics(); ps.cbSize = Marshal.SizeOf(typeof(WMReaderStatistics)); m_read.GetStatistics(ps); Debug.Assert(ps.wQuality == 100); m_read.NotifyLateDelivery(1000); m_read.DeliverTime(1000); int i; m_read.GetMaxOutputSampleSize(1, out i); Debug.Assert(i != 0); m_read.GetMaxStreamSampleSize(1, out i); Debug.Assert(i != 0); WMReaderClientInfo w = new WMReaderClientInfo(); w.cbSize = Marshal.SizeOf(typeof(WMReaderClientInfo)); m_read.SetClientInfo(w); }