Skip to content

Latest commit

 

History

History
74 lines (60 loc) · 3.19 KB

nf-shobjidl_core-ishelllinka-setdescription.md

File metadata and controls

74 lines (60 loc) · 3.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
NF:shobjidl_core.IShellLinkA.SetDescription
IShellLinkA::SetDescription (shobjidl_core.h)
Sets the description for a Shell link object. The description can be any application-defined string. (ANSI)
IShellLink interface [Windows Shell]
SetDescription method
IShellLink::SetDescription
IShellLinkA interface [Windows Shell]
SetDescription method
IShellLinkA.SetDescription
IShellLinkA::SetDescription
IShellLinkW interface [Windows Shell]
SetDescription method
IShellLinkW::SetDescription
SetDescription
SetDescription method [Windows Shell]
SetDescription method [Windows Shell]
IShellLink interface
SetDescription method [Windows Shell]
IShellLinkA interface
SetDescription method [Windows Shell]
IShellLinkW interface
_win32_IShellLink_SetDescription
shell.IShellLink_SetDescription
shobjidl_core/IShellLink::SetDescription
shobjidl_core/IShellLinkA::SetDescription
shobjidl_core/IShellLinkW::SetDescription
shell\IShellLink_SetDescription.htm
shell
4bec482e-04e6-4cde-ab8e-23c5a1463bdf
12/05/2018
IShellLink interface [Windows Shell],SetDescription method, IShellLink::SetDescription, IShellLinkA interface [Windows Shell],SetDescription method, IShellLinkA.SetDescription, IShellLinkA::SetDescription, IShellLinkW interface [Windows Shell],SetDescription method, IShellLinkW::SetDescription, SetDescription, SetDescription method [Windows Shell], SetDescription method [Windows Shell],IShellLink interface, SetDescription method [Windows Shell],IShellLinkA interface, SetDescription method [Windows Shell],IShellLinkW interface, _win32_IShellLink_SetDescription, shell.IShellLink_SetDescription, shobjidl_core/IShellLink::SetDescription, shobjidl_core/IShellLinkA::SetDescription, shobjidl_core/IShellLinkW::SetDescription
shobjidl_core.h
Windows
Windows XP [desktop apps only]
Windows 2000 Server [desktop apps only]
Shobjidl.idl
Shell32.dll (version 4.0 or later)
Windows
19H1
IShellLinkA::SetDescription
shobjidl_core/IShellLinkA::SetDescription
c++
APIRef
kbSyntax
COM
Shell32.dll
IShellLink.SetDescription
IShellLinkA.SetDescription
IShellLinkW.SetDescription

IShellLinkA::SetDescription

-description

Sets the description for a Shell link object. The description can be any application-defined string.

-parameters

-param pszName

Type: LPCTSTR

A pointer to a buffer containing the new description string.

-returns

Type: HRESULT

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

-remarks

For Windows 2000 or later, the string specified by pszName must be no larger than INFOTIPSIZE. For systems prior to Windows 2000, the size of the string is limited by MAX_PATH.