Skip to content

Latest commit

 

History

History
77 lines (61 loc) · 2.52 KB

nf-shobjidl_core-iexplorercommand-geticon.md

File metadata and controls

77 lines (61 loc) · 2.52 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:shobjidl_core.IExplorerCommand.GetIcon
IExplorerCommand::GetIcon (shobjidl_core.h)
Gets an icon resource string of the icon associated with the specified Windows Explorer command item.
GetIcon
GetIcon method [Windows Shell]
GetIcon method [Windows Shell]
IExplorerCommand interface
IExplorerCommand interface [Windows Shell]
GetIcon method
IExplorerCommand.GetIcon
IExplorerCommand::GetIcon
_shell_IExplorerCommand_GetIcon
shell.IExplorerCommand_GetIcon
shobjidl_core/IExplorerCommand::GetIcon
shell\IExplorerCommand_GetIcon.htm
shell
e71b6748-84fc-4944-90b8-a5b0bf97079d
12/05/2018
GetIcon, GetIcon method [Windows Shell], GetIcon method [Windows Shell],IExplorerCommand interface, IExplorerCommand interface [Windows Shell],GetIcon method, IExplorerCommand.GetIcon, IExplorerCommand::GetIcon, _shell_IExplorerCommand_GetIcon, shell.IExplorerCommand_GetIcon, shobjidl_core/IExplorerCommand::GetIcon
shobjidl_core.h
Shobjidl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Shobjidl.idl
Windows
19H1
IExplorerCommand::GetIcon
shobjidl_core/IExplorerCommand::GetIcon
c++
APIRef
kbSyntax
COM
shobjidl_core.h
IExplorerCommand.GetIcon

IExplorerCommand::GetIcon

-description

Gets an icon resource string of the icon associated with the specified Windows Explorer command item.

-parameters

-param psiItemArray [in]

Type: IShellItemArray*

A pointer to an IShellItemArray.

-param ppszIcon [out]

Type: LPWSTR*

Pointer to a buffer that, when this method returns successfully, receives the resource string that identifies the icon source.

-returns

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

The retrieved icon resource string is in the standard format, for instance "shell32.dll,-249".