IConsoleNameSpace::GetNextItem

[This is preliminary documentation and subject to change.]

Enables the snap-in to retrieve the handle of the next item in the scope view.

HRESULT GetNextItem(
  HSCOPEITEM item,         // Handle of scope pane item
  HSCOPEITEM * pItemNext,  // Pointer to the next item address
  long * plCookie          // Pointer to the cookie's address
);
 

Parameters

item
[in] Handle of an item in the scope pane.
pItemNext
[out] Pointer to the handle of the next item in the scope pane that has been returned.
plCookie
[out] Pointer to the cookie of the next item that has been returned.

Return Values

S_OK
The next item was successfully retrieved.
E_UNEXPECTED
An unexpected error occurred.

Remarks

If the handle of the next item is not obtained, NULL is returned.

See Also

IConsoleNameSpace