IPlaylistEntryInfoCollection::Item Property

The Item property gets an IPlaylistEntryInfo Interface instance from the current playlist.

HRESULT
Item(
    [in] DWORD                        dwEntryIndex,
    [out, retval] IPlaylistEntryInfo  **ppPlaylistEntry
);

Arguments

dwEntryIndex

A DWORD that contains the index of the requested item in the collection.

ppPlaylistEntry

The returned IPlaylistEntryInfo Interface instance.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Notes for Implementers

Implementers should return an instance of an IPlaylistEntryInfo Interface that represents the results of the request in dwEntryIndex.

Requirements

Header: playlistprovider.h

Library: playlistprovider.dll

Platform: Windows Server 2008 family