Skip to content

Latest commit

 

History

History
90 lines (68 loc) · 2.83 KB

nf-upnp-iupnpdevice-iconurl.md

File metadata and controls

90 lines (68 loc) · 2.83 KB
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.
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\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
IUPnPDevice::IconURL
upnp/IUPnPDevice::IconURL
c++
APIRef
kbSyntax
COM
Upnp.dll
IUPnPDevice.IconURL

IUPnPDevice::IconURL

-description

The IconURL method returns a URL from which an icon of the specified format can be loaded.

-parameters

-param bstrEncodingFormat [in]

Specifies the MIME type of the encoding format that is requested for the icon.

-param lSizeX [in]

Specifies the width of the icon, in pixels. Standard values are 16, 32, or 48.

-param lSizeY [in]

Specifies the height of the icon, in pixels. Standard values are 16, 32, or 48 pixels.

-param lBitDepth [in]

Specifies the bit depth of the icon. Standard values are 8, 16, or 24.

-param pbstrIconURL [out]

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.

-returns

If the method succeeds, the return value is S_OK. Otherwise, the method returns one of the COM error codes defined in WinError.h.

-remarks

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.

-see-also

IUPnPDevice