IFolderView2::GetVisibleItem method
Gets the next visible item in relation to a given index in the view.
Syntax
HRESULT GetVisibleItem( [in] int iStart, [in] BOOL fPrevious, [out] int *piItem );
Parameters
- iStart [in]
-
Type: int
The zero-based position at which to start searching for a visible item.
- fPrevious [in]
-
Type: BOOL
TRUE to find the first visible item before iStart. FALSE to find the first visible item after iStart.
- piItem [out]
-
Type: int*
When this method returns, contains a pointer to a value that receives the index of the visible item in the view.
Return value
Type: HRESULT
This method can return one of these values.
| Return code | Description |
|---|---|
|
Item retrieved. |
|
Item not found. Note that this is a success code. |
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|
Show: