ltmmPlayCtrl.SourceVideoType Example for Visual Basic

'The method will display the video and audio format info
Private Sub FormatInfo(Play As ltmmPlayCtrl) 
    txtInfo.Text = ""
    txtInfo.Text = "Source video type " + Play.SourceVideoType
    txtInfo.Text = txtInfo.Text + "Source audio type " + Play.SourceAudioType
    txtInfo.Text = txtInfo.Text + "Source video FOURCC" + CStr(Play.SourceVideoFOURCC
    txtInfo.Text = txtInfo.Text + "Source audio format " + CStr(Play.SourceAudioFormat
End Sub