Share via


Windows Media Player 11 SDK IWMPContentPartner::GetCatalogURL 

Windows Media Player SDK banner art

Previous Next

IWMPContentPartner::GetCatalogURL

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 GetCatalogURL method retrieves the URL from which to retrieve an update to the online store's current catalog.

Syntax

  HRESULT GetCatalogURL(
  DWORD  dwCatalogVersion,
  DWORD  dwCatalogSchemaVersion,
  LCID  catalogLCID,
  DWORD*  pdwNewCatalogVersion,
  BSTR*  pbstrCatalogURL,
  VARIANT*  pExpirationDate
);

Parameters

dwCatalogVersion

[in]  DWORD containing the current catalog version.

dwCatalogSchemaVersion

[in]  DWORD containing the current catalog schema version.

catalogLCID

[in]  The locale ID (LCID) for the catalog.

pdwNewCatalogVersion

[out]  Address of a DWORD that receives the new catalog version.

pbstrCatalogURL

[out]  Address of a BSTR that receives the URL.

pExpirationDate

[out]  Address of a VARIANT (VT_DATE) that receives the expiration date of the catalog update.

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

We recommend that the catalog URL specify the version as part of the path. For example, https://www.contoso.com/Catalogs/210/catalog.wmdb.

Requirements

Version: Windows Media Player 11

Header: contentpartner.h

See Also

Previous Next