Share via


Windows Media Player 11 SDK IWMPCore::get_playState 

Windows Media Player SDK banner art

Previous Next

IWMPCore::get_playState

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

Syntax

  

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.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next