Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.gif)
| Previous | Next |
Content Containers
Windows Media Player uses content containers to represent digital media content in a subscription download or purchase transaction. A content container is represented by the IWMPContentContainer interface. A content container might contain a list of related content, such as an album, or a set of unrelated content items, or tracks. You can use the IWMPContentContainer interface to enumerate the tracks of the content container and retrieve the price of each track. You can also retrieve information about the content container itself, such as the container ID, the type of content in the container, and the total price for the tracks in the container (which might differ from the sum of the prices of the individual tracks, as in the case of an album purchase).
To provide a mechanism for packaging multiple content containers into a single object, Windows Media Player supports the IWMPContentContainerList interface. IWMPContentContainerList provides methods to enumerate and retrieve the content containers in the list. To discover whether the content container list represents a purchase or a subscription download, call IWMPContentContainerList::GetTransactionType to retrieve a WMPTransactionType value.
See Also
| Previous | Next |