IConsoleNameSpace::GetNextItem method (mmc.h)

The IConsoleNameSpace2::GetNextItem method enables the snap-in to retrieve the handle to the next item in the scope view.

Syntax

HRESULT GetNextItem(
  HSCOPEITEM item,
  HSCOPEITEM *pItemNext,
  MMC_COOKIE *pCookie
);

Parameters

item

A handle to an item in the scope pane.

pItemNext

A pointer to the handle to the next item in the scope pane that has been returned.

pCookie

A pointer to the cookie of the next item that has been returned.

Return value

This method can return one of these values.

Remarks

If there is no item next to the given item, NULL is returned.

Requirements

   
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header mmc.h
DLL Mmcndmgr.dll

See also

IConsoleNameSpace

IConsoleNameSpace2