IUPnPDevice::get_ModelURL method (upnp.h)

The ModelURL property specifies the URL for a Web page that contains model-specific information for the device.

Syntax

HRESULT get_ModelURL(
  [out] BSTR *pbstr
);

Parameters

[out] pbstr

Receives a reference to a string that contains the URL. Release this string with SysFreeString when it is no longer required. If the device does not specify this URL, this parameter is set to NULL.

Return value

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

Remarks

This property is optional and pbstr can be NULL.

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

IUPnPDevice::ModelName

IUPnPDevice::ModelNumber