Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the item at the given index in the IShellItemArray.
Syntax
HRESULT GetItemAt(
[in] DWORD dwIndex,
[out] IShellItem **ppsi
);
Parameters
[in] dwIndex
Type: DWORD
The index of the IShellItem requested in the IShellItemArray
[out] ppsi
Type: IShellItem**
When this method returns, contains the requested IShellItem pointer.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
This function returns E_FAIL if the requested index is out of bounds of the IShellItemArray.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |