Share via


Windows Media Player 11 SDK IWMPNetwork::get_sourceProtocol 

Windows Media Player SDK banner art

Previous Next

IWMPNetwork::get_sourceProtocol

The get_sourceProtocol method retrieves the source protocol used to receive data.

Syntax

  

Parameters

pbstrSourceProtocol

[out]  Pointer to a BSTR containing the source protocol.

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 retrieves an empty string ("") when playing a CD or DVD.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next