ILIsChild function (shlobj_core.h)

Verifies whether a pointer to an item identifier list (PIDL) is a child PIDL, which is a PIDL with exactly one SHITEMID.

Syntax

BOOL ILIsChild(
  [in] PCUIDLIST_RELATIVE pidl
);

Parameters

[in] pidl

Type: PCUIDLIST_RELATIVE

A constant, unaligned, relative PIDL that is being checked.

Return value

Type: BOOL

Returns TRUE if the given PIDL is a child PIDL; otherwise, FALSE.

Remarks

This function does not guarantee that the PIDL is non-NULL or non-empty.

For use where STRICT_TYPED_ITEMIDS is defined.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shlobj_core.h (include Shlobj.h)