ILIsAligned function (shlobj_core.h)

Verifies whether a constant ITEMIDLIST is aligned on a pointer boundary, which is a DWORD on 32-bit architectures and a QWORD on 64-bit architectures.

Syntax

BOOL ILIsAligned(
  [in] PCUIDLIST_RELATIVE pidl
);

Parameters

[in] pidl

Type: PCUIDLIST_RELATIVE

A constant PIDL relative to a parent folder that is being checked for alignment.

Return value

Type: BOOL

Returns TRUE if aligned; otherwise, FALSE.

Remarks

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)