Skip to content

Latest commit

 

History

History
89 lines (65 loc) · 3.52 KB

nf-shobjidl_core-ishelllinka-setarguments.md

File metadata and controls

89 lines (65 loc) · 3.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.IShellLinkA.SetArguments
IShellLinkA::SetArguments (shobjidl_core.h)
Sets the command-line arguments for a Shell link object. (ANSI)
IShellLink interface [Windows Shell]
SetArguments method
IShellLink::SetArguments
IShellLinkA interface [Windows Shell]
SetArguments method
IShellLinkA.SetArguments
IShellLinkA::SetArguments
IShellLinkW interface [Windows Shell]
SetArguments method
IShellLinkW::SetArguments
SetArguments
SetArguments method [Windows Shell]
SetArguments method [Windows Shell]
IShellLink interface
SetArguments method [Windows Shell]
IShellLinkA interface
SetArguments method [Windows Shell]
IShellLinkW interface
_win32_IShellLink_SetArguments
shell.IShellLink_SetArguments
shobjidl_core/IShellLink::SetArguments
shobjidl_core/IShellLinkA::SetArguments
shobjidl_core/IShellLinkW::SetArguments
shell\IShellLink_SetArguments.htm
shell
5ad5fabd-be12-40bc-a6b3-498bcde7223a
12/05/2018
IShellLink interface [Windows Shell],SetArguments method, IShellLink::SetArguments, IShellLinkA interface [Windows Shell],SetArguments method, IShellLinkA.SetArguments, IShellLinkA::SetArguments, IShellLinkW interface [Windows Shell],SetArguments method, IShellLinkW::SetArguments, SetArguments, SetArguments method [Windows Shell], SetArguments method [Windows Shell],IShellLink interface, SetArguments method [Windows Shell],IShellLinkA interface, SetArguments method [Windows Shell],IShellLinkW interface, _win32_IShellLink_SetArguments, shell.IShellLink_SetArguments, shobjidl_core/IShellLink::SetArguments, shobjidl_core/IShellLinkA::SetArguments, shobjidl_core/IShellLinkW::SetArguments
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::SetArguments
shobjidl_core/IShellLinkA::SetArguments
c++
APIRef
kbSyntax
COM
Shell32.dll
IShellLink.SetArguments
IShellLinkA.SetArguments
IShellLinkW.SetArguments

IShellLinkA::SetArguments

-description

Sets the command-line arguments for a Shell link object.

-parameters

-param pszArgs [in]

Type: LPCTSTR

A pointer to a buffer that contains the new command-line arguments. In the case of a Unicode string, there is no limitation on maximum string length. In the case of an ANSI string, the maximum length of the returned string varies depending on the version of Windows—MAX_PATH prior to Windows 2000 and INFOTIPSIZE (defined in Commctrl.h) in Windows 2000 and later.

-returns

Type: HRESULT

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

-remarks

This method is useful when creating a link to an application that takes special flags as arguments, such as a compiler.

-see-also

IShellLink

IShellLink::GetArguments

IShellLinkA

IShellLinkW