Share via


Windows Media Player 11 SDK IWMPCore::get_openState 

Windows Media Player SDK banner art

Previous Next

IWMPCore::get_openState

The get_openState method retrieves an enumeration value indicating the state of the content source.

Syntax

  

Parameters

pwmpos

[out]  Pointer to a WMPOpenState 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