Windows Media Player 11 SDK IWMPContentPartnerCallback::RefreshLicenseComplete 

Windows Media Player SDK banner art

Previous Next

IWMPContentPartnerCallback::RefreshLicenseComplete

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 RefreshLicenseComplete method notifies Windows Media Player that the online store has finished processing a request to update the license for a media file.

Syntax

  HRESULT RefreshLicenseComplete(
  DWORD dwCookie,
  ULONG contentID,
  HRESULT hrRefresh
);

Parameters

dwCookie

[in] ** A cookie that represents a request to update a license for a media file. Windows Media Player previously supplied this cookie to the online store's plug-in by calling IWMPContentPartner::RefreshLicense.

contentID

[in]  The content ID of the media file for which the license update was requested.

hrRefresh

[in]  An HRESULT that indicates whether the license update was successful. Any success code indicates that the update succeeded. Any failure code indicates that the update failed.

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

Windows Media Player requests a license update by calling the plug-in's RefreshLicense method, which initiates the update and returns immediately. When the online store has finished processing the update request, the plug-in calls RefreshLicenseComplete.

Requirements

Version: Windows Media Player 11

Header: contentpartner.h

See Also

Previous Next