IShellLinkWGetArguments Method

Retrieves the command-line arguments associated with a Shell link object.

Definition

Namespace: DevCase.Win32.Interfaces
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
void GetArguments(
	StringBuilder args,
	int maxPath
)

Parameters

args  StringBuilder
A pointer to the buffer that, when this method returns successfully, receives the command-line arguments.
maxPath  Int32
The maximum number of characters that can be copied to the buffer supplied by the pszArgs parameter.

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.

See Also