Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Windows Media Player 11 SDK External.OnChangeViewOnlineListError Event 

Windows Media Player SDK banner art
PreviousNext

External.OnChangeViewOnlineListError Event

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

The OnChangeViewOnlineListError event occurs when a request to change the view of a dynamic list in Windows Media Player results in an error. Script on the discovery page previously made the request to change the view by calling External.changeViewOnlineList.

Syntax

window.external.OnChangeViewOnlineListError = functionname

Possible Values

This is a write-only property that specifies the name of the function in script that Windows Media Player calls when the event occurs.

Parameters

The function that handles this error takes the following parameters.

hr

An HRESULT failure code that indicates the reason for the failure.

LibraryLocationType

A String that specifies the type of the requested view. This is the same string that the script passed in the LibraryLocationType parameter of changeViewOnlineList.

LibraryLocationID

A String that specifies the ID of the item to show in the requested view. This is the same string that the script passed in the LibraryLocationID parameter of changeViewOnlineList.

Params

A String that contains parameters that the online store wants to associate with the requested view. This is the same string that the script passed in the Params parameter of changeViewOnlineList.

FriendlyName

A String that specifies the friendly name of the requested view. This is the same string that the script passed in the FriendlyName parameter of changeViewOnlineList.

ListType

A String that specifies the type of list item to be displayed in the requested view. This is the same string that the script passed in the ListType parameter of changeViewOnlineList.

ViewMode

A String that specifies the mode of the requested view. This is the same string that the script passed in the ViewMode parameter of changeViewOnlineList.

Requirements

Version: Windows Media Player 11.

Library: Use wmp.dll.

See Also

PreviousNext
Show:
© 2015 Microsoft