|
|
|
|
|
|
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| -
| Header File
| shlobj.h
| Unicode
| No
| Platform Notes
| None
|
|
|
IShellLink::SetWorkingDirectory
[Now Supported on Windows NT]
Sets the name of the working directory for a shell link object.
HRESULT STDMETHODCALLTYPE SetWorkingDirectory(
ISHELLLINK FAR *pShlLnk,
|
|
LPCSTR pszDir
|
|
);
|
|
Parameters
pShlLnk
Pointer to the
IShellLink interface. In C++, this parameter is implicit.
pszDir
Pointer to a buffer that contains the name of the new working directory.
Return Values
Returns NOERROR if successful or an OLE-defined error value otherwise.
The working directory must be set only if the object requires it to be set.
For example, if an application creates a shell link to a Microsoft Word document
that uses a template that resides in a different directory, the application
would use this method to set the working directory.
See Also
IShellLink
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database