Expand Minimize

SHCreateShellItemArrayFromIDLists function

Creates a Shell item array object from a list of ITEMIDLIST structures.

Syntax


HRESULT SHCreateShellItemArrayFromIDLists(
  _In_   UINT cidl,
  _In_   PCIDLIST_ABSOLUTE_ARRAY rgpidl,
  _Out_  IShellItemArray **ppsiItemArray
);

Parameters

cidl [in]

Type: UINT

The number of elements in the array.

rgpidl [in]

Type: PCIDLIST_ABSOLUTE_ARRAY

A list of cidl constant pointers to ITEMIDLIST structures.

ppsiItemArray [out]

Type: IShellItemArray**

When this function returns, contains an IShellItemArray interface pointer.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

DLL

Shell32.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft