ILIsAligned function

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

Parameters

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

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