FoldersTree_filter_func_t

typedef BOOL CALLBACK (*FoldersTree_filter_func_t)(
        HWND hwnd,
        IShellFolder *folder,
        const ITEMIDLIST *folder_pidl,
        const ITEMIDLIST *pidl);

Arguments

[in] HWND hwnd

Handle to the control.

[in] IShellFolder *folder

Pointer to the interface to the folder in which the shell object resides.

[in] const ITEMIDLIST *folder_pidl

Absolute PIDL of this folder.

[in] const ITEMIDLIST *pidl

Relative (relatively the folder) PIDL of the shell object.

Description

Callback functions with such signature are used to decide whether to insert a given shell object into the tree.

Return Values

Non-zero return value means to insert the item, zero return value means to not insert it.

See also: FoldersTree_SetFilterFunction, FoldersTree_GetFilterFunction, Filtering.