Skip to content

Latest commit

 

History

History
82 lines (64 loc) · 2.19 KB

nf-ole2-olegeticonofclass.md

File metadata and controls

82 lines (64 loc) · 2.19 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 req.apiset
NF:ole2.OleGetIconOfClass
OleGetIconOfClass function (ole2.h)
Returns a handle to a metafile containing an icon and a string label for the specified CLSID.
OleGetIconOfClass
OleGetIconOfClass function [COM]
_com_OleGetIconOfClass
com.olegeticonofclass
ole2/OleGetIconOfClass
com\olegeticonofclass.htm
com
88ac1c14-b5a8-4100-9fa5-d7af35052b48
12/05/2018
OleGetIconOfClass, OleGetIconOfClass function [COM], _com_OleGetIconOfClass, com.olegeticonofclass, ole2/OleGetIconOfClass
ole2.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Ole32.lib
Ole32.dll
Windows
19H1
OleGetIconOfClass
ole2/OleGetIconOfClass
c++
APIRef
kbSyntax
DllExport
Ole32.dll
Ext-MS-Win-Com-OLE32-l1-1-3.dll
Ext-MS-Win-Com-Ole32-L1-1-4.dll
OleGetIconOfClass
ext-ms-win-com-ole32-l1-1-3 (introduced in Windows 10, version 10.0.10240)

OleGetIconOfClass function

-description

Returns a handle to a metafile containing an icon and a string label for the specified CLSID.

-parameters

-param rclsid [in]

The CLSID for which the icon and string are to be requested.

-param lpszLabel [in, optional]

A pointer to the label for the icon.

-param fUseTypeAsLabel [in]

Indicates whether to use the user type string in the CLSID as the icon label.

-returns

If the function succeeds, the return value is a handle to a metafile that contains and icon and label for the specified CLSID. Otherwise, the function returns NULL.

-see-also

OleGetIconOfFile

OleMetafilePictFromIconAndLabel