INamespaceWalk interface (shobjidl_core.h)

Exposes methods that walk a namespace from a given root node. The depth of the walk is specified and an optional array is returned containing the IDs of all nodes walked.


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


The INamespaceWalk interface has these methods.


Gets a list of objects found during a namespace walk initiated by INamespaceWalk::Walk.

Initiates a recursive walk of the namespace from the specified root to the given depth.


Use this interface to display or perform an operation on the contents of the namespace. INamespaceWalk allows retrieval of all reachable nodes of your namespace as pointers to item identifier lists (PIDLs), which can in turn be used to retrieve the IShellFolder object for each.

The class identifier (CLSID) for the default implementation of INamespaceWalk is CLSID_NamespaceWalker. You can obtain an INamespaceWalk object by creating a single uninitialized object of the class associated with CLSID_NamespaceWalker using CoCreateInstance. This interface's IID is IID_INamespaceWalk.


Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)

See also