Windows Media Player 11 SDK IWMPContentPartnerCallback::ShowPopup 

Windows Media Player SDK banner art

Previous Next

IWMPContentPartnerCallback::ShowPopup

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 ShowPopup method instructs Windows Media Player to display an HTML-based dialog box that hosts a Web page provided by the online store.

Syntax

  HRESULT ShowPopup(
  long  
  lIndex,
  BSTR  bstrParameters
);

Parameters

lIndex

[in]  Index, meaningful only to the online store, of the Web page to display in the dialog box.

bstrParameters

[in]  Parameters associated with the dialog box.

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 calls IWMPContentPartner::GetItemInfo, passing the value of lIndex in the pContext parameter, to retrieve a URL. Windows Media Player then appends the value of bstrParameters to the URL, and uses the URL, along with the appended parameters, to retrieve the Web page to display in the dialog box.

Requirements

Version: Windows Media Player 11

Header: contentpartner.h

See Also

Previous Next