IResultData::GetNextItem

[This is preliminary documentation and subject to change.]

Gets the next item in the result view

HRESULT GetNextItem(
  LPRESULTDATAITEM item  // Pointer to a structure with information 
                         // about next item
);
 

Parameters

item
[in, out] Pointer to a RESULTDATAITEM structure containing information about the item to be obtained. Item should have been a structure previously used in a call to GetItem.
When applied to virtual lists, test only for select and focus states. Only returns an item index, not an lParam.

Return Values

S_OK
The item was successfully obtained.
E_UNEXPECTED
An unexpected error occurred.
E_OUTOFMEMORY
The operation could not be completed due to lack of memory.

See Also

IResultData