     pInternalErrorHandler 6
      Exit Function
   End If
   
   dataRemaining = (m_lDataOffset + m_lAudioLength - mmioSeek(m_hMMioIn, 0,
    SEEK_CUR))
   If (m_lBufferSize &lt; dataRemaining) Then
      ' Get m_lBufferSize bytes from the WAV file into the memory
      ' buffer pointed to by tWavHdr.lpData:
      lR = mmioRead(m_hMMioIn, m_lPtrBuffer, m_lBufferSize)
      m_lCurrentReadSize = m_lBufferSize
      Read = True
   ElseIf (dataRemaining &gt; 0) Then
      ' Get the remainder (dataRemaining) by