IWMPEvents::PlayStateChange

Other versions of this page are also available for the following:

8/28/2008

The PlayStateChange event occurs when the play state of the Windows Media Player control changes.

Syntax

void PlayStateChange( long NewState ); 

Parameters

  • NewState
    [in]  Specifies the new state.

Return Values

This event does not return a value.

Remarks

Windows Media Player states are not guaranteed to occur in any particular order. Furthermore, not every state necessarily occurs during a sequence of events. You should not write code that relies upon state order.

See Also

Reference

IWMPEvents Interface