IWMPContentPartner::GetCatalogURL method
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.
Syntax
HRESULT GetCatalogURL(
DWORD dwCatalogVersion,
DWORD dwCatalogSchemaVersion,
LCID catalogLCID,
DWORD *pdwNewCatalogVersion,
BSTR *pbstrCatalogURL,
VARIANT *pExpirationDate
);
Parameters
dwCatalogVersion
DWORD containing the current catalog version.
dwCatalogSchemaVersion
DWORD containing the current catalog schema version.
catalogLCID
The locale ID (LCID) for the catalog.
pdwNewCatalogVersion
Address of a DWORD that receives the new catalog version.
pbstrCatalogURL
Address of a BSTR that receives the URL.
pExpirationDate
Address of a VARIANT (VT_DATE) that receives the expiration date of the catalog update.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
|
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
| Minimum supported client | Windows Media Player 11 |
| Target Platform | Windows |
| Header | contentpartner.h |