INamespaceWalk interface

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.

Members

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

Methods

The INamespaceWalk interface has these methods.

MethodDescription
GetIDArrayResult

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

Walk

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

 

Remarks

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.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

Library

Shell32.lib

DLL

Shell32.dll (version 6.0 or later)

See also

INamespaceWalkCB

 

 

Community Additions

ADD
Show:
© 2014 Microsoft