IInsertItem::InsertItem method

Adds an ITEMIDLIST structure to a list of such structures.

Syntax


HRESULT InsertItem(
  [in]  LPCITEMIDLIST pidl
);

Parameters

pidl [in]

Type: LPCITEMIDLIST

A pointer to an ITEMIDLIST structure that corresponds to an item in a Shell folder.

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft