ICurrentWorkingDirectory interface

Exposes methods that enable a client to retrieve or set an object's current working directory.


The ICurrentWorkingDirectory interface has these methods.

Method Description
ICurrentWorkingDirectory::GetDirectory Gets the current working directory.
ICurrentWorkingDirectory::SetDirectory Sets the current working directory.


Implement this interface if your object allows clients to retrieve or set the current working directory.

Use this interface to retrieve or set the working directory of the object that exports it.


Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shlobj.h