Windows Media Player 11 SDK IWMPRemoteMediaServices::GetScriptableObjectÂ
Previous | Next |
IWMPRemoteMediaServices::GetScriptableObject
The GetScriptableObject method is called by Windows Media Player to retrieve a name and interface pointer for an object that can be called from the script code within a skin.
Syntax
Parameters
pbstrName
[out] Pointer to a BSTR containing the name of the scriptable object.
ppDispatch
[out] Pointer to a pointer to the IDispatch interface of the scriptable object.
Return Values
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Value | Description |
S_OK | The method succeeded. |
Remarks
The user interface of an embedded control can be customized by using Windows Media Player skin technology. You must specify a skin file location by using the IWMPRemoteMediaServices::GetCustomUIMode method. Skins used in this way can communicate with the host of the control through a scriptable object retrieved automatically by Windows Media Player through the IWMPRemoteMediaServices::GetScriptableObject method.
The embedded Windows Media Player control does not have to be remoted to use this method.
Windows Media Player 10 Mobile: This method is not supported.
Requirements
Version: Windows Media Player 9 Series or later.
Header: Include wmp.h.
Library: Use wmp.dll.
See Also
- IWMPRemoteMediaServices Interface
- IWMPRemoteMediaServices::GetCustomUIMode
- Using Skins with the Windows Media Player Control
Previous | Next |