ICurrentWorkingDirectory interface (shlobj.h)

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

Inheritance

The ICurrentWorkingDirectory interface inherits from the IUnknown interface. ICurrentWorkingDirectory also has these types of members:

Methods

The ICurrentWorkingDirectory interface has these methods.

 
ICurrentWorkingDirectory::GetDirectory

Gets the current working directory.
ICurrentWorkingDirectory::SetDirectory

Sets the current working directory.

Remarks

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.

Requirements

Requirement Value
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