Windows Media Player 11 SDK External.sendMessage 

Windows Media Player SDK banner art

Previous Next

External.sendMessage

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 sendMessage method sends a message to the online store's plug-in.

Syntax

  window.external.sendMessage(
  
  Msg
  , 
  
  Param

  )

Parameters

Msg

String containing the message.

Param

String containing parameters associated with the message.

Remarks

The message is sent asynchronously. That is, this method returns immediately rather than waiting for the message to be processed. When the plug-in finishes processing the message, it calls the IWMPContentPartnerCallback::SendMessageComplete method, which in turn calls the script's OnSendMessageComplete event handler.

Requirements

Version: Windows Media Player 11.

Library: Use wmp.dll.

See Also

Previous Next