Partager via


IWMPPlaylist::get_item (Windows Embedded CE 6.0)

1/6/2010

The get_item method retrieves the media item at the specified index.

Syntax

HRESULT get_item( long lIndex, IWMPMedia** ppIWMPMedia ); 

Parameters

  • lIndex
    long containing the index.
  • ppIWMPMedia
    [out]  Pointer to a pointer to an IWMPMedia interface for the returned item.

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

Before calling this method, you must have read access to the library.

See Also

Reference

IWMPPlaylist Interface