INamespaceWalkCB::EnterFolder method

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

Syntax


HRESULT EnterFolder(
  [in] IShellFolder    *psf,
  [in] PCUITEMID_CHILD pidl
);

Parameters

psf [in]

Type: IShellFolder*

A pointer to an IShellFolder object representing the parent of the folder designated by pidl.

pidl [in]

Type: PCUITEMID_CHILD

The PIDL, relative to psf, of the folder being entered.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll

 

 

Show: