Share via


Windows Media Player 11 SDK IWMPContentPartner::Notify 

Windows Media Player SDK banner art

Previous Next

IWMPContentPartner::Notify

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 Notify method provides the content partner plug-in with event notifications from Windows Media Player.

Syntax

  HRESULT Notify(
  WMPPartnerNotification  type,
  VARIANT*  pContext
);

Parameters

type

[in]  The notification type, specified as a member of the WMPPartnerNotification enumeration.

pContext

[in]  Pointer to a VARIANT that contains notification data.

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 underlying data type for pContext is VT_EMPTY for all notifications except wmpsnCatalogDownloadFailure. In the case of a catalog download failure, the data type is VT_ERROR and the variable contains the error code.

Requirements

Version: Windows Media Player 11

Header: contentpartner.h

See Also

Previous Next