Contents Index Topic Contents | ||
Previous Topic: IShellLink::GetShowCmd Next Topic: IShellLink::Resolve |
IShellLink::GetWorkingDirectory
HRESULT STDMETHODCALLTYPE GetWorkingDirectory( LPSTR pszDir, int cchMaxPath );Retrieves the name of the working directory for a shell link object.
- Returns NOERROR if successful, or an OLE-defined error value otherwise.
- pszDir
- Address of a buffer that receives the name of the working directory.
- cchMaxPath
- 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 IShellLink
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.