IShellLinkWGetWorkingDirectory Method

Retrieves the name of the working directory for 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 GetWorkingDirectory(
	StringBuilder dir,
	int maxPath
)

Parameters

dir  StringBuilder
The address of a buffer that receives the name of the working directory.
maxPath  Int32
The maximum number of characters to copy to the buffer pointed to by the pszDir parameter.

The name of the working directory is truncated if it is longer than the maximum specified by this parameter.

See Also