Windows Media Player 11 SDK IWMPCore::get_URLĀ 

Windows Media Player SDK banner art

Previous Next

IWMPCore::get_URL

The get_URL method retrieves the name of the clip to play.

Syntax

  

Parameters

pbstrURL

[out]  Pointer to a 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

Applications that open media items from behind a firewall will have better performance if the address is specified using the domain name server (DNS) name instead of the IP address.

Calling this method from an event handler may yield unexpected results.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next