Windows Media Player 11 SDK IWMPLibrary::get_name 

Windows Media Player SDK banner art

Previous Next

IWMPLibrary::get_name

The get_name method retrieves the display name of the current library.

Syntax

  
    HRESULT get_name(
  BSTR*  pbstrName
);

Parameters

pbstrName

[out]  Pointer to a string containing the name of the current library.

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

Windows Media Player 10 Mobile: This method is not supported.

Requirements

Version: Windows Media Player 11.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next