Share via


Windows Media Player 11 SDK IWMPCore::launchURL 

Windows Media Player SDK banner art

Previous Next

IWMPCore::launchURL

The launchURL method sends a URL to the user's default browser.

Syntax

  

Parameters

bstrURL

[in]  BSTR containing the URL.

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

This method only opens Web pages using the HTTP or HTTPS protocols.

Windows Media Player 10 Mobile: This method always returns E_INVALIDARG.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next