Reference

ILIsParent(3w)

NAME

ILIsParent (SHELL32.23)

SYNOPSIS

BOOL ILIsParent
(
LPCITEMIDLIST pidlParent,
LPCITEMIDLIST pidlChild,
BOOL bImmediate
)

DESCRIPTION

Verifies that pidlParent is indeed the (immediate) parent of pidlChild.

PARAMS

pidlParent [In] .

pidlChild [In] .

bImmediate [In] only return TRUE if the parent is the direct parent of the child.

RETURNS

TRUE if the parent ItemIDlist is a complete part of the child ItemIdList, FALSE otherwise.

NOTES

parent = a/b, child = a/b/c -> TRUE, c is in folder a/b child = a/b/c/d -> FALSE if bImmediate is TRUE, d is not in folder a/b child = a/b/c/d -> TRUE if bImmediate is FALSE, d is in a subfolder of a/b child = a/b -> FALSE if bImmediate is TRUE child = a/b -> TRUE if bImmediate is FALSE

IMPLEMENTATION

Declared in "shlobj.h".

Implemented in "dlls/shell32/pidl.c".

Debug channel "pidl".

History