Partager via


IWMPEvents::PositionChange (Windows Embedded CE 6.0)

1/6/2010

The PositionChange event occurs when the current playback position within the media item has been changed.

Syntax

void PositionChange( double oldPosition, double newPosition ); 

Parameters

  • oldPosition
    [in]  Specifies the original position.
  • newPosition
    [in]  Specifies the new position.

Return Values

This event does not return a value.

Remarks

This event is not raised routinely during playback. It only occurs when something actively changes the current playback position within the playing media item, such as the user moving the seek handle or code specifying a value for IWMPControls::put_currentPosition.

See Also

Reference

IWMPEvents Interface