Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
The get_openState method retrieves an enumeration value indicating the state of the content source.
Syntax
HRESULT get_openState( WMPOpenState* pwmpos );
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.