IUPnPDevice::get_UniqueDeviceName method (upnp.h)

The UniqueDeviceName property specifies the unique device name (UDN) of the device. A UDN is unique; no two devices can have the same UDN.

Syntax

HRESULT get_UniqueDeviceName(
  [out] BSTR *pbstr
);

Parameters

[out] pbstr

Receives a reference to a string that contains the UDN of the device. 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.

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