Skip to content

Latest commit

 

History

History
72 lines (58 loc) · 2.25 KB

nf-shobjidl_core-idefaultextracticoninit-setkey.md

File metadata and controls

72 lines (58 loc) · 2.25 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.IDefaultExtractIconInit.SetKey
IDefaultExtractIconInit::SetKey (shobjidl_core.h)
Sets the registry key from which to load the "DefaultIcon" value.
IDefaultExtractIconInit interface [Windows Shell]
SetKey method
IDefaultExtractIconInit.SetKey
IDefaultExtractIconInit::SetKey
SetKey
SetKey method [Windows Shell]
SetKey method [Windows Shell]
IDefaultExtractIconInit interface
_shell_IDefaultExtractIconInit_SetKey
shell.IDefaultExtractIconInit_SetKey
shobjidl_core/IDefaultExtractIconInit::SetKey
shell\IDefaultExtractIconInit_SetKey.htm
shell
dce75b90-f569-4983-a540-82a021377287
12/05/2018
IDefaultExtractIconInit interface [Windows Shell],SetKey method, IDefaultExtractIconInit.SetKey, IDefaultExtractIconInit::SetKey, SetKey, SetKey method [Windows Shell], SetKey method [Windows Shell],IDefaultExtractIconInit interface, _shell_IDefaultExtractIconInit_SetKey, shell.IDefaultExtractIconInit_SetKey, shobjidl_core/IDefaultExtractIconInit::SetKey
shobjidl_core.h
Shobjidl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Shobjidl.idl
Windows
19H1
IDefaultExtractIconInit::SetKey
shobjidl_core/IDefaultExtractIconInit::SetKey
c++
APIRef
kbSyntax
COM
shobjidl_core.h
IDefaultExtractIconInit.SetKey

IDefaultExtractIconInit::SetKey

-description

Sets the registry key from which to load the "DefaultIcon" value.

-parameters

-param hkey [in]

Type: HKEY

A handle to the registry key.

-returns

Type: HRESULT

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

-remarks

It is recommended that any call to IDefaultExtractIconInit::SetKey come before any calls to the SetXxxIcon methods.