Partager via


IWMPControls::get_currentItem (Windows Embedded CE 6.0)

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.

See Also

Reference

IWMPControls Interface