Share via


Windows Media Player 11 SDK Displaying Dialog Boxes 

Windows Media Player SDK banner art

Previous Next

Displaying Dialog Boxes

The online store can invoke dialog boxes through Windows Media Player. To do this, call External.showPopup from the discovery page script code, providing a custom index value that represents the dialog box to display. This index value has meaning only to the online store code; Windows Media Player does not interpret this value. Windows Media Player then calls IWMPContentPartner::GetItemInfo, passing g_szItemInfo_PopupURL for the bstrInfoName parameter and the index number for the pContext parameter. The plug-in then returns a BSTR containing the URL of the Web page to display in the dialog box and the Player shows the dialog box.

See Also

Previous Next