Share via


Windows Media Player 11 SDK IWMPContentPartner::CompareContainerListPricesĀ 

Windows Media Player SDK banner art

Previous Next

IWMPContentPartner::CompareContainerListPrices

Note This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported.

The CompareContainerListPrices method compares the price of two content container lists.

Syntax

  HRESULT CompareContainerListPrices(
  IWMPContentContainerList*  pListBase,
  IWMPContentContainerList*  pListCompare,
  long*  pResult
);

Parameters

pListBase

[in]  Pointer to the IWMPContentContainerList interface representing the base content container list.

pListCompare

[in]  Pointer to the IWMPContentContainerList interface representing the comparison content container list.

pResult

[out]  Address of a long that receives the result of the comparison. Return less than 0 when the base price is less than the comparison price; return 0 when the base and comparison lists have equal prices; return greater than 0 when the base price is greater than the comparison price.

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.

Requirements

Version: Windows Media Player 11

Header: contentpartner.h

See Also

Previous Next