Skip to content

Latest commit

 

History

History
77 lines (43 loc) · 1.8 KB

ibasicdevice-friendlyname.md

File metadata and controls

77 lines (43 loc) · 1.8 KB
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date api_location ms.custom
IBasicDevice FriendlyName method
Retrieves the device s friendly name.
693806E1-CA66-457D-A25B-D79064776965
FriendlyName method Media Streaming API
FriendlyName method Media Streaming API , IBasicDevice interface
IBasicDevice interface Media Streaming API , FriendlyName method
apiref
IBasicDevice.FriendlyName
COM
reference
4/26/2023
UpdateFrequency5

IBasicDevice::FriendlyName method

[The feature associated with this page, Windows Media Streaming API, is a legacy feature. It has been superseded by Media Casting. Media Casting has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Media Casting instead of Windows Media Streaming API, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Retrieves the device s friendly name.

Syntax

HRESULT FriendlyName(
  [out] HSTRING *value
);

Parameters

value [out]

Receives a pointer to the device s friendly name.

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.

See also

IBasicDevice