Windows Media Player 11 SDK IWMPPlaylist::getItemInfo 

Windows Media Player SDK banner art

Previous Next

IWMPPlaylist::getItemInfo

The getItemInfo method retrieves the value of a playlist attribute specified by name.

Syntax

  
    HRESULT getItemInfo(
  BSTR  bstrName,
  BSTR*  pbstrVal
);

Parameters

bstrName

[in]  BSTR containing the name.

pbstrVal

[out]  Pointer to a BSTR containing the returned value.

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. For more information, see Library Access.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next