IWMPMedia::get_sourceURL method

The get_sourceURL method retrieves the URL of the media item.

Syntax

HRESULT get_sourceURL(
  BSTR *pbstrSourceURL
);

Parameters

pbstrSourceURL

Pointer to a BSTR containing the source URL.

Return value

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.

Requirements

   
Minimum supported client Windows Media Player 9 Series or later.
Target Platform Windows
Header wmp.h
DLL Wmp.dll

See also

IWMPMedia Interface