ILGetSize function (shlobj_core.h)

Returns the size, in bytes, of an ITEMIDLIST structure.

Syntax

UINT ILGetSize(
  [in, optional] PCUIDLIST_RELATIVE pidl
);

Parameters

[in, optional] pidl

Type: PCUIDLIST_RELATIVE

A pointer to an ITEMIDLIST structure.

Return value

Type: UINT

The size of the ITEMIDLIST structure specified by pidl, in bytes.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shlobj_core.h (include Shlobj.h)
Library Shell32.lib
DLL Shell32.dll (version 5.0 or later)