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_currentItem method retrieves the current media item in a playlist.
Syntax
HRESULT get_currentItem( IWMPMedia** ppIWMPMedia );
Parameters
- ppIWMPMedia
[out] Pointer to a pointer to an IWMPMedia interface.
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
This method works only with items in the current playlist.