Windows Media Player 11 SDK IWMPNetwork.framesSkipped (VB and C#) 

Windows Media Player SDK banner art

Previous Next

IWMPNetwork.framesSkipped (VB and C#)

The framesSkipped property gets the total number of frames skipped during playback.

  

Property Value

A System.Int32 that is the number of frames skipped.

Example Code

The following code example uses framesSkipped to display the total number of frames skipped during playback. The information is displayed in a label when the user clicks a button. The AxWMPLib.AxWindowsMediaPlayer object is represented by the variable named player.

  
Public Sub showFramesSkipped_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles showFramesSkipped.Click

    framesSkippedLabel.Text = ("Frames skipped: " + player.network.framesSkipped.ToString())

End Sub

FakePre-51ab2c93ee3146e3b604eb9f81394c75-d7c03107a3f64d0bbda6182c5210da69

private void showFramesSkipped_Click(object sender, System.EventArgs e)
{
    framesSkippedLabel.Text = ("Frames skipped: " + player.network.framesSkipped.ToString());
}

Requirements

Version: Windows Media Player 9 Series or later

Namespace: WMPLib

Assembly: Interop.WMPLib.dll (automatically generated by Visual Studio)

See Also

Previous Next