/// <summary> /// A block has finished so notify the WaveFile. In a more complicated example, /// this class might maintain an array of WaveFile instances. In such a case, the /// wParam of the message could be passed from the MM_WIM_DATA message. This /// value represents the m_hwi member of the file that caused the message. /// The code might look something like: /// foreach (WaveFile f in m_files) /// { /// if (f.m_hwi.ToInt32() == wParam.ToInt32()) /// { /// f.BlockDone(); /// break; /// } /// } /// </summary> public void BlockDone(IntPtr hwo) { if (m_file != null) { m_file.BlockDone(); } }