ILIsChild function

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(
  PCUIDLIST_RELATIVE pidl
);

Parameters

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

   
Windows version Windows Vista [desktop apps only] Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shlobj_core.h (include Shlobj.h)