IShellItemArray::GetItemAt method (shobjidl_core.h)
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) |
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για