IUPnPDevice::get_FriendlyName method (upnp.h)

The FriendlyName property specifies the device display name for the device.

Syntax

HRESULT get_FriendlyName(
  [out] BSTR *pbstr
);

Parameters

[out] pbstr

Receives a reference to a string that contains the device display name. Release this string with SysFreeString when it is no longer required.

Return value

For C++: If this property's "get" method succeeds, the return value is S_OK. Otherwise, the method returns one of the COM error codes defined in WinError.h.

Remarks

It is possible for multiple devices to have the same display name. To determine if two device objects describe the same device, use the unique device name. For more information, see UniqueDeviceName.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header upnp.h
DLL Upnp.dll

See also

IUPnPDevice

UniqueDeviceName