IFolderView2::GetItem method (shobjidl_core.h)
Retrieves an object that represents a specified item.
Syntax
HRESULT GetItem(
[in] int iItem,
[in] REFIID riid,
[out] void **ppv
);
Parameters
[in] iItem
Type: int
The zero-based index of the item to retrieve.
[in] riid
Type: REFIID
Reference to the desired IID to represent the item, such as IID_IShellItem.
[out] ppv
Type: void**
When this method returns, contains the interface pointer requested in riid. This is typically IShellItem.
Return value
Type: HRESULT
Returns S_OK if the specified item was found, or an error value otherwise, including the following:
Return code | Description |
---|---|
|
The index in iItem is out of range. |
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 ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για