IWMCLibrary::put_Name
![]() |
This functionality is expected to be available in Windows Media Player for the next version of Microsoft Windows. At that time, this SDK will be deprecated.
The put_Name method specifies the friendly name of the shared library.
Syntax
HRESULT put_Name(
BSTR Value
);
Parameters
Value
[in] BSTR containing the friendly 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
If you try to set the name to a name that is already in use, then this method will fail with the HRESULT_FROM_WIN32(ERROR_BAD_ARGUMENTS) error.
Requirements
Library: wmcsci.dll.
Platform: Windows XP Home Edition Service Pack 2 (SP2), Windows XP Professional SP2, Windows XP Media Center Edition SP2, or Windows XP Tablet PC Edition SP2.
See Also
.gif)