Windows Media Player 11 SDK IWMPContentPartner::SendMessage 

Windows Media Player SDK banner art

Previous Next

IWMPContentPartner::SendMessage

Note This section 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 enables discovery pages to send messages to the plug-in.

Syntax

  HRESULT SendMessage(
  BSTR  bstrMsg,
  BSTR  bstrParam
);

Parameters

bstrMsg

[in]  BSTR containing the message.

bstrParam

[in]  BSTR containing the message parameters.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.

Remarks

The plug-in must call IWMPContentPartnerCallback::SendMessageComplete to notify Windows Media Player that the message has been processed. This causes the OnSendMessageComplete event to occur in the discovery page.

Requirements

Version: Windows Media Player 11

Header: contentpartner.h

See Also

Previous Next