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 "include/shlobj.h". gitlab.winehq.org/wine/wine/blob/master/include/shlobj.h

Implemented in "dlls/shell32/pidl.c". gitlab.winehq.org/wine/wine/blob/master/dlls/shell32/pidl.c

Debug channel "pidl".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.