Windows Media Player 11 SDK External.OnChangeViewError EventĀ
Previous | Next |
External.OnChangeViewError 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 OnChangeViewError event occurs when a request to change the view in Windows Media Player results in an error. Script on the discovery page previously made the request to change the view by calling External.changeView.
Syntax
window.external.OnChangeViewError = 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 event 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 changeView.
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 changeView.
Filter
String containing the filter for the requested view. This is the same string that the script passed in the Filter parameter of changeView.
ViewParams
String containing parameters that the online store wants to associate with the requested view. This is the same string that the script passed in the ViewParams parameter of changeView.
Requirements
Version: Windows Media Player 11.
Library: Use wmp.dll.
See Also
Previous | Next |