IShellLinkWGetPath Method

Retrieves the path and file name of 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 GetPath(
	StringBuilder file,
	int maxPath,
	ref Win32FindDataW refWin32FindData,
	IShellLinkGetPathFlags flags
)

Parameters

file  StringBuilder
The address of a buffer that receives the path and file name of the target of the Shell link object.
maxPath  Int32
The size, in characters, of the buffer pointed to by the pszFile parameter, including the terminating null character.

The maximum path size that can be returned is MAX_PATH.

refWin32FindData  Win32FindDataW
A pointer to a WIN32_FIND_DATA structure that receives information about the target of the Shell link object.

If this parameter is NULL, then no additional information is returned.

flags  IShellLinkGetPathFlags
Flags that specify the type of path information to retrieve.

See Also