IShellLinkWGetWorkingDirectory Method
Retrieves the name of the working directory for a Shell link object.
Namespace: DevCase.Win32.InterfacesAssembly: 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
)
Sub GetWorkingDirectory (
<OutAttribute> dir As StringBuilder,
maxPath As Integer
)
Dim instance As IShellLinkW
Dim dir As StringBuilder
Dim maxPath As Integer
instance.GetWorkingDirectory(dir, maxPath)
void GetWorkingDirectory(
[OutAttribute] StringBuilder^ dir,
int maxPath
)
abstract GetWorkingDirectory :
dir : StringBuilder byref *
maxPath : int -> unit
No code example is currently available or this language may not be supported.
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.