INamespaceWalkCB::LeaveFolder method (shobjidl_core.h)
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.
Syntax
HRESULT LeaveFolder(
[in] IShellFolder *psf,
[in] PCUITEMID_CHILD pidl
);
Parameters
[in] psf
Type: IShellFolder*
A pointer to an IShellFolder object representing the parent of the folder designated by pidl.
[in] pidl
Type: PCUITEMID_CHILD
A PIDL, relative to psf, of the folder being exited.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
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) |
DLL | Shell32.dll |