Share via


IUPnPDevice::UniqueDeviceName

This method returns the UDN of the device. A UDN is unique; no two devices can have the same UDN.

HRESULT get_UniqueDeviceName(
  BSTR* pbstr
);

Parameters

  • pbstr
    [out] Receives a reference to a string that contains the UDN of the device. This string must be released when it is no longer required.

Return Values

  • S_OK
    This method was successful.

Otherwise, the method returns one of the COM error codes defined in WinError.h.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Upnp.h.
Link Library: Uuid.lib.

See Also

IUPnPDevice:IDispatch

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.