Partager via


IWMPCore::get_playState (Windows Embedded CE 6.0)

1/6/2010

The get_playState method retrieves an enumeration value indicating the operating state of Windows Media Player.

Syntax

HRESULT get_playState( WMPPlayState* pwmpps ); 

Parameters

  • pwmpps
    [out]  Pointer to a WMPPlayState enumeration

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description

S_OK

The method succeeded.

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

IWMPCore Interface