ltmmCaptureCtrl.VideoCaptureStreamType Example for Visual Basic

' Having an IltmmCapture object, Cap:

Dim Type As String

If Cap.VideoCaptureStreamType <> "MEDIATYPE_Stream" Then
   ' the capture stream type is not MEDIATYPE_Stream, do something
End If