IUPnPDevice::get_PresentationURL method (upnp.h)

The PresentationURL property specifies the presentation URL for a Web page that controls the device.

Syntax

HRESULT get_PresentationURL(
  [out] BSTR *pbstr
);

Parameters

[out] pbstr

Receives a reference to a string that contains the presentation URL for the Web page. This URL is an absolute URL. Release this string with SysFreeString when it is no longer used. If the device does not specify a presentation URL, this parameter receives an empty string.

Return value

For C++: If this property's "get" method succeeds, the return value is S_OK. If the device did not specify a presentation URL, the return value is S_FALSE. Otherwise, the method returns one of the COM error codes defined in WinError.h.

Remarks

Note  This property must not be empty and must contain a valid URL.
 

Requirements

   
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