INamespaceWalkCB::FoundItem method
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.
Syntax
HRESULT FoundItem( [in] IShellFolder *psf, [in] PCUITEMID_CHILD pidl );
Parameters
- psf [in]
-
Type: IShellFolder*
A pointer to an IShellFolder object representing the folder containing the item.
- pidl [in]
-
Type: PCUITEMID_CHILD
The item's PIDL, relative to psf.
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 |
|
|
IDL |
|
|
DLL |
|
Show: