Windows Media Player 11 SDK IWMPContentPartnerCallback::ListContentsComplete 

Windows Media Player SDK banner art

Previous Next

IWMPContentPartnerCallback::ListContentsComplete

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 ListContentsComplete method notifies Windows Media Player that the content partner plug-in is finished adding content to a list.

Syntax

  HRESULT ListContentsComplete(
  DWORD  dwListCookie,
  HRESULT  hrSuccess
);

Parameters

dwListCookie

[in]  A cookie that identifies a list retrieval session. Windows Media Player previously supplied this cookie to the content partner plug-in by calling IWMPContentPartner::GetListContents.

hrSuccess

[in]  An HRESULT that indicates whether the overall transfer of list contents succeeded. Any success code indicates that the transfer succeeded; any error code indicates that the transfer failed.

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

Windows Media Player starts retrieving list contents by calling IWMPContentPartner::GetListContents. This starts an asynchronous operation in which the online store plug-in must call IWMPContentPartnerCallback::AddListContents one or more times to give the Player the requested data. The plug-in must finally call ListContentsComplete to notify the Player that all the data has been provided.

Requirements

Version: Windows Media Player 11

Header: contentpartner.h

See Also

Previous Next