IShellFolderView::GetObject method

[GetObject is no longer available for use as of Windows Vista. Instead, use IFolderView::Item.]

Gets an item from the view.

Syntax


HRESULT GetObject(
  [out] PITEMID_CHILD *ppidl,
        UINT          uItem
);

Parameters

ppidl [out]

Type: PITEMID_CHILD*

When this method returns, contains the address of a pointer to the item at the given index.

uItem

Type: UINT

The index of the item in the view to get.

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP

End of server support

Windows Server 2003

 

 

Show: