ltmmCaptureCtrl.TargetStream Example for Visual Basic

' This method will output the data of the
' target stream for the capture to text edit
Private Sub OutputTargetData(Capture As ltmmCaptureCtrl) 
Dim Target As ltmmMemory
Dim lBufferSize As Long

Set Target = Capture.TargetStream

If Not Target Then
    lBufferSize = Target.BufferSize
    txtInfo.Text = Target.GetData (0, lBufferSize - 1) 
End If

End Sub