Share via


Windows Media Player 11 SDK IWMPMediaCollection::getAttributeStringCollection 

Windows Media Player SDK banner art

Previous Next

IWMPMediaCollection::getAttributeStringCollection

The getAttributeStringCollection method retrieves a pointer to an IWMPStringCollection interface. This interface represents the set of all values for a given attribute within a given media type.

Syntax

  

Parameters

bstrAttribute

[in]  String containing the attribute for which the values are retrieved.

bstrMediaType

[in]  String containing the media type for which the values are retrieved.

ppStringCollection

[out]  Pointer to a pointer to an IWMPStringCollection interface for the retrieved values.

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.

For information about the attributes supported by Windows Media Player, see the Attribute Reference section.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next