Share via


Windows Media Player 11 SDK IWMPContentPartner::Download 

Windows Media Player SDK banner art

Previous Next

IWMPContentPartner::Download

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 Download method initiates the download of a set of media items.

Syntax

  HRESULT Download(
  IWMPContentContainerList*  pInfo,
  DWORD  cookie
);

Parameters

pInfo

[in]  Pointer to an IWMPContentContainerList interface that describes the content to download.

cookie

[in]  A cookie that represents the download request.

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

This method initiates the process of inspecting the container list passed in pInfo and then returns immediately. As the plug-in inspects the container list, it calls IWMPContentPartnerCallback::DownloadTrack once for each track in the container list. For more information about the download procedure, see Downloading Media Content.

Requirements

Version: Windows Media Player 11

Header: contentpartner.h

See Also

Previous Next