IWMPLibrary::get_name method

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

Syntax

HRESULT get_name(
  BSTR *pbstrName
);

Parameters

pbstrName

Pointer to a string containing the name of the current library.

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.

Remarks

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

Requirements

   
Minimum supported client Windows Media Player 11.
Target Platform Windows
Header wmp.h
DLL Wmp.dll

See also

IWMPLibrary Interface

IWMPLibrary::get_type