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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for