INamespaceWalkCB interface (shobjidl_core.h)

A callback interface exposing methods used with INamespaceWalk. After performing a walk with INamespaceWalk, an IShellFolder object representing the walked nodes is passed to the INamespaceWalkCB methods. What those methods do with the information depends on the object that is implementing them.

Inheritance

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

Methods

The INamespaceWalkCB interface has these methods.

 
INamespaceWalkCB::EnterFolder

Called when a folder is about to be entered during a namespace walk. Use this method for any initialization of the retrieved item.
INamespaceWalkCB::FoundItem

Called when an object is found in the namespace during a namespace walk. Use this method as the main action function for the class implementing it. Perform your actions as needed inside this method.
INamespaceWalkCB::InitializeProgressDialog

Initializes the window title and cancel button text of the progress dialog box displayed during the namespace walk.
INamespaceWalkCB::LeaveFolder

Called after a namespace walk through a folder. Use this method to perform any necessary cleanup following the actions performed by INamespaceWalkCB::EnterFolder or INamespaceWalkCB::FoundItem.

Remarks

The IID for this interface is IID_INamespaceWalkCB.

Requirements

   
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)