Share via


IWMPConvert::GetErrorURL method (wmpservices.h)

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The GetErrorURL method is implemented by a conversion plug-in and called by Windows Media Player to retrieve the URL of a webpage that displays information to help the user correct the condition that caused an error.

Syntax

HRESULT GetErrorURL(
  [out] BSTR *pbstrURL
);

Parameters

[out] pbstrURL

Pointer to a BSTR that receives the URL of the webpage that displays the error information.

Return value

The method returns an HRESULT.

Remarks

This is a synchronous call. Your code must complete and return as quickly as possible.

Windows Media Player 10 Mobile: This method is not supported.

Requirements

Requirement Value
Minimum supported client Windows Media Player, build 10.00.00.4521 or later
Target Platform Windows
Header wmpservices.h

See also

IWMPConvert Interface