Share via


Windows Media Player 11 SDK IWMPMedia::put_nameĀ 

Windows Media Player SDK banner art

Previous Next

IWMPMedia::put_name

The put_name method specifies sets the name of the media item.

Syntax

  

Parameters

bstrName

[in]  BSTR containing the name.

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

Before calling this method, you must have full access to the library. For more information, see Library Access.

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