Share via


Windows Media Player 11 SDK IWMPContentPartner::GetStreamingURLĀ 

Windows Media Player SDK banner art

Previous Next

IWMPContentPartner::GetStreamingURL

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.

The GetStreamingURL method retrieves the streaming URL of a track.

Syntax

  HRESULT GetStreamingURL(
  WMPStreamingType  st,
  VARIANT*  pStreamContext,
  BSTR*  pbstrURL
);

Parameters

st

[in]  A member of the WMPStreamingType enumeration specifying the streaming type.

pStreamContext

[in]  Pointer to a VARIANT that contains the stream context.

pbstrURL

[out]  Address of a BSTR that receives the URL of the track.

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.

Requirements

Version: Windows Media Player 11

Header: contentpartner.h

See Also

Previous Next