UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:upnp.IUPnPDevice.IconURL |
IUPnPDevice::IconURL (upnp.h) |
The IconURL method returns a URL from which an icon of the specified format can be loaded. |
|
upnp\iupnpdevice_iconurl.htm |
upnp |
17b3d4f1-a51a-42f9-8fc0-4156d4975889 |
12/05/2018 |
IUPnPDevice interface [UPnP APIs],IconURL method, IUPnPDevice.IconURL, IUPnPDevice::IconURL, IconURL, IconURL method [UPnP APIs], IconURL method [UPnP APIs],IUPnPDevice interface, _upnp_iupnpdevice_iconurl, upnp.iupnpdevice_iconurl, upnp/IUPnPDevice::IconURL |
upnp.h |
Windows |
Windows XP [desktop apps only] |
None supported |
Upnp.dll |
Windows |
19H1 |
|
|
|
|
|
|
The IconURL method returns a URL from which an icon of the specified format can be loaded.
Specifies the MIME type of the encoding format that is requested for the icon.
Specifies the width of the icon, in pixels. Standard values are 16, 32, or 48.
Specifies the height of the icon, in pixels. Standard values are 16, 32, or 48 pixels.
Specifies the bit depth of the icon. Standard values are 8, 16, or 24.
Receives a reference to a string that contains the URL from which the icon is to be loaded. Release this string with SysFreeString when it is no longer required.
If the method succeeds, the return value is S_OK. Otherwise, the method returns one of the COM error codes defined in WinError.h.
An application can specify any values for lSizeX, lSizeY, and lBitDepth. However, there is no guarantee that an icon exists with those specifications.
If a matching icon does not exist, the URL for the icon that most closely matches the size and bit depth specified is returned.